Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 77.55 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00212/0.00212, allocations: 159.6 kB / 23.01 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.62/1.62, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.81/2.81, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 67.89 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9692/0.9713, allocations: 176.1 MB / 1.154 GB, free: 33.38 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002035/0.9733, allocations: 0.9633 MB / 1.155 GB, free: 32.77 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.9748, allocations: 1.346 MB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.625e-05/0.9749, allocations: 6.5 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.975, allocations: 19.08 kB / 1.156 GB, free: 31.78 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.385e-05/0.9751, allocations: 42.77 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007232/0.9758, allocations: 282.6 kB / 1.157 GB, free: 31.6 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003439/0.9762, allocations: 376.4 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.9763, allocations: 49.06 kB / 1.157 GB, free: 31.4 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.9765, allocations: 158 kB / 1.157 GB, free: 31.33 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.9767, allocations: 114.7 kB / 1.157 GB, free: 31.29 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.693e-05/0.9767, allocations: 34.19 kB / 1.157 GB, free: 31.29 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.9768, allocations: 54.75 kB / 1.157 GB, free: 31.28 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.566e-05/0.9769, allocations: 70.19 kB / 1.157 GB, free: 31.24 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.977, allocations: 111.2 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003486/0.9774, allocations: 397.7 kB / 1.158 GB, free: 31.04 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.9774, allocations: 0 / 1.158 GB, free: 31.04 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9774, allocations: 0 / 1.158 GB, free: 31.04 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.9774, allocations: 0 / 1.158 GB, free: 31.04 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008448/0.9782, allocations: 0.5624 MB / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.9783, allocations: 8.344 kB / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003193/0.9786, allocations: 75.3 kB / 1.158 GB, free: 30.55 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008271/0.9794, allocations: 309.1 kB / 1.159 GB, free: 30.36 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.9795, allocations: 13.03 kB / 1.159 GB, free: 30.36 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.9795, allocations: 18.44 kB / 1.159 GB, free: 30.35 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004045/0.9799, allocations: 204.9 kB / 1.159 GB, free: 30.24 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.9799, allocations: 3.938 kB / 1.159 GB, free: 30.24 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.9799, allocations: 9.906 kB / 1.159 GB, free: 30.23 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.9799, allocations: 6.484 kB / 1.159 GB, free: 30.23 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004533/0.9804, allocations: 142.2 kB / 1.159 GB, free: 30.2 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008243/0.9812, allocations: 0.794 MB / 1.16 GB, free: 29.55 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.9815, allocations: 151.6 kB / 1.16 GB, free: 29.41 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.9817, allocations: 75.25 kB / 1.16 GB, free: 29.37 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.9817, allocations: 3.938 kB / 1.16 GB, free: 29.36 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003296/0.9821, allocations: 170.3 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.9821, allocations: 3.938 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0008208/0.9829, allocations: 261 kB / 1.161 GB, free: 29.16 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.9829, allocations: 160.7 kB / 1.161 GB, free: 28.98 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.9831, allocations: 219.3 kB / 1.161 GB, free: 28.84 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.9831, allocations: 35.67 kB / 1.161 GB, free: 28.8 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.732e-05/0.9832, allocations: 149.3 kB / 1.161 GB, free: 28.68 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.9832, allocations: 36.75 kB / 1.161 GB, free: 28.65 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.243e-05/0.9833, allocations: 58.44 kB / 1.161 GB, free: 28.62 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.498e-05/0.9834, allocations: 329.5 kB / 1.161 GB, free: 28.3 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/0.9837, allocations: 172.1 kB / 1.162 GB, free: 28.2 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/0.9841, allocations: 280.1 kB / 1.162 GB, free: 27.96 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005383/0.9846, allocations: 273 kB / 1.162 GB, free: 27.77 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.9846, allocations: 6.906 kB / 1.162 GB, free: 27.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008289/0.9855, allocations: 440 kB / 1.163 GB, free: 27.52 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.984e-05/0.9855, allocations: 67.5 kB / 1.163 GB, free: 27.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.9855, allocations: 2.969 kB / 1.163 GB, free: 27.45 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.9855, allocations: 6.812 kB / 1.163 GB, free: 27.45 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.9857, allocations: 28.27 kB / 1.163 GB, free: 27.44 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.9857, allocations: 9.969 kB / 1.163 GB, free: 27.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004092/0.9861, allocations: 68.91 kB / 1.163 GB, free: 27.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.9861, allocations: 19.19 kB / 1.163 GB, free: 27.43 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.9862, allocations: 157.8 kB / 1.163 GB, free: 27.29 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.9863, allocations: 16.62 kB / 1.163 GB, free: 27.29 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.808e-05/0.9863, allocations: 22.34 kB / 1.163 GB, free: 27.26 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.9863, allocations: 2.938 kB / 1.163 GB, free: 27.26 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.9863, allocations: 0 / 1.163 GB, free: 27.26 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.9863, allocations: 2.938 kB / 1.163 GB, free: 27.26 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.9865, allocations: 195.4 kB / 1.163 GB, free: 27.1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.9865, allocations: 0 / 1.163 GB, free: 27.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.9866, allocations: 31.69 kB / 1.163 GB, free: 27.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.9866, allocations: 2.781 kB / 1.163 GB, free: 27.09 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.9866, allocations: 3.094 kB / 1.163 GB, free: 27.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.9866, allocations: 0 / 1.163 GB, free: 27.09 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.9866, allocations: 6.844 kB / 1.163 GB, free: 27.09 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005195/0.9872, allocations: 245.9 kB / 1.163 GB, free: 26.94 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/0.9872, allocations: 20.89 kB / 1.163 GB, free: 26.93 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.9872, allocations: 0 / 1.163 GB, free: 26.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.9873, allocations: 22.45 kB / 1.163 GB, free: 26.93 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.9874, allocations: 16.55 kB / 1.163 GB, free: 26.92 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.9874, allocations: 3.062 kB / 1.163 GB, free: 26.92 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001075/0.9875, allocations: 162 kB / 1.164 GB, free: 26.83 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9875, allocations: 0 / 1.164 GB, free: 26.83 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002986/0.9878, allocations: 54.11 kB / 1.164 GB, free: 26.82 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001312/0.988, allocations: 114.2 kB / 1.164 GB, free: 26.72 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00071/0.9887, allocations: 377.3 kB / 1.164 GB, free: 26.47 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.9887, allocations: 6.469 kB / 1.164 GB, free: 26.46 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002543/0.9889, allocations: 73.83 kB / 1.164 GB, free: 26.45 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.9893, allocations: 54.69 kB / 1.164 GB, free: 26.43 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005988/0.9899, allocations: 395.3 kB / 1.165 GB, free: 26.16 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.99, allocations: 141.4 kB / 1.165 GB, free: 26.07 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001056/0.9901, allocations: 38.16 kB / 1.165 GB, free: 26.06 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.9901, allocations: 19 kB / 1.165 GB, free: 26.05 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/0.9901, allocations: 0 / 1.165 GB, free: 26.05 MB / 1.076 GB Notification: Performance of Templates: time 0.006683/0.9968, allocations: 3.331 MB / 1.168 GB, free: 25.66 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.245686882990412]