Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.001445/0.001445, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001629/0.001629, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 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.491/1.491, allocations: 177.1 MB / 203.9 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.858/2.858, allocations: 377.8 MB / 0.6232 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.8108 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.132e-05/3.348e-05, allocations: 3.531 kB / 0.8108 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002859/0.002893, allocations: 1.248 MB / 0.812 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002721/0.005613, allocations: 1.577 MB / 0.8136 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000196/0.005809, allocations: 8.719 kB / 0.8136 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.005999, allocations: 31.59 kB / 0.8136 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.00622, allocations: 76.97 kB / 0.8137 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.00764, allocations: 491.8 kB / 0.8142 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001033/0.008673, allocations: 0.6581 MB / 0.8148 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003366/0.00901, allocations: 121.1 kB / 0.8149 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00069/0.0097, allocations: 363.5 kB / 0.8153 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004079/0.01011, allocations: 195.5 kB / 0.8154 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.01026, allocations: 64 kB / 0.8155 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.01045, allocations: 81.47 kB / 0.8156 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.01057, allocations: 83.67 kB / 0.8157 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002774/0.01085, allocations: 191.6 kB / 0.8158 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.01188, allocations: 0.7673 MB / 0.8166 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.01189, allocations: 0.7812 kB / 0.8166 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.322e-06/0.01189, allocations: 0 / 0.8166 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.664e-05/0.01191, allocations: 1.156 kB / 0.8166 GB, free: 11.06 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002009/0.01392, allocations: 0.8724 MB / 0.8174 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.01396, allocations: 8.031 kB / 0.8175 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002171/0.01418, allocations: 76.66 kB / 0.8175 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.01564, allocations: 412.6 kB / 0.8179 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.759e-05/0.01569, allocations: 28.86 kB / 0.8179 GB, free: 9.57 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.01579, allocations: 40.91 kB / 0.818 GB, free: 9.531 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000875/0.01667, allocations: 462.9 kB / 0.8184 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.01668, allocations: 192 / 0.8184 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.01672, allocations: 16.36 kB / 0.8184 GB, free: 9.031 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.01674, allocations: 14.69 kB / 0.8185 GB, free: 9.02 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008429/0.01758, allocations: 378.3 kB / 0.8188 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.01936, allocations: 0.7356 MB / 0.8195 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008522/0.02022, allocations: 482.9 kB / 0.82 GB, free: 7.348 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006568/0.02087, allocations: 391.1 kB / 0.8204 GB, free: 6.934 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.0209, allocations: 4 kB / 0.8204 GB, free: 6.93 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007991/0.0217, allocations: 460.4 kB / 0.8208 GB, free: 6.441 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=44): time 2.244e-06/0.0217, allocations: 0 / 0.8208 GB, free: 6.441 MB / 0.7292 GB Notification: Performance of matching and sorting (n=44): time 0.002105/0.0238, allocations: 1.118 MB / 0.8219 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001527/0.02396, allocations: 195.9 kB / 0.8221 GB, free: 4.992 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.02434, allocations: 284.4 kB / 0.8224 GB, free: 4.707 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.434e-05/0.02443, allocations: 47.3 kB / 0.8224 GB, free: 4.656 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.02462, allocations: 164.9 kB / 0.8226 GB, free: 4.492 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.02477, allocations: 134.8 kB / 0.8227 GB, free: 4.359 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002851/0.02505, allocations: 142.1 kB / 0.8228 GB, free: 4.215 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002172/0.02527, allocations: 346.8 kB / 0.8232 GB, free: 3.867 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.02641, allocations: 0.5209 MB / 0.8237 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009962/0.02741, allocations: 0.6083 MB / 0.8243 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.02897, allocations: 0.921 MB / 0.8252 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.02897, allocations: 0 / 0.8252 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002236/0.03121, allocations: 1.289 MB / 0.8264 GB, free: 168 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002361/0.03145, allocations: 264.2 kB / 0.8267 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.03146, allocations: 4 kB / 0.8267 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.081e-05/0.03149, allocations: 9.109 kB / 0.8267 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.03181, allocations: 59.91 kB / 0.8267 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/0.03183, allocations: 17.03 kB / 0.8268 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000807/0.03263, allocations: 143.4 kB / 0.8269 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.03278, allocations: 63.92 kB / 0.827 GB, free: 15.57 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0003891/0.03317, allocations: 315.6 kB / 0.8273 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.563e-05/0.03326, allocations: 51.81 kB / 0.8273 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.03337, allocations: 43.36 kB / 0.8274 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.03338, allocations: 8.594 kB / 0.8274 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.03339, allocations: 4.875 kB / 0.8274 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.0334, allocations: 7.969 kB / 0.8274 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/0.03556, allocations: 1.22 MB / 0.8286 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.03557, allocations: 3.938 kB / 0.8286 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.03584, allocations: 71.88 kB / 0.8286 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.03585, allocations: 0 / 0.8286 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/0.03588, allocations: 12 kB / 0.8286 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.03588, allocations: 4 kB / 0.8287 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.03588, allocations: 0 / 0.8287 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.0374, allocations: 0.9153 MB / 0.8295 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.293e-05/0.03746, allocations: 35.7 kB / 0.8296 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.057e-05/0.03751, allocations: 12 kB / 0.8296 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.03775, allocations: 27.97 kB / 0.8296 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.03787, allocations: 35.94 kB / 0.8297 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.904e-05/0.03796, allocations: 51.88 kB / 0.8297 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002329/0.03819, allocations: 195.1 kB / 0.8299 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.03819, allocations: 0 / 0.8299 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005103/0.0387, allocations: 107.9 kB / 0.83 GB, free: 12.24 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.0002699/0.03897, allocations: 115.2 kB / 0.8301 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002913/0.04188, allocations: 1.43 MB / 0.8315 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.04189, allocations: 0 / 0.8315 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.04299, allocations: 0.6345 MB / 0.8321 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.04407, allocations: 100.3 kB / 0.8322 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/0.04664, allocations: 0.9429 MB / 0.8331 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.04698, allocations: 188.3 kB / 0.8333 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003701/0.04735, allocations: 91.19 kB / 0.8334 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.04748, allocations: 36.5 kB / 0.8334 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of SimCode: time 1.002e-06/0.04748, allocations: 4 kB / 0.8334 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of Templates: time 0.02236/0.06984, allocations: 7.015 MB / 0.8403 GB, free: 1.484 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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: 8.129422992002219]