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.002469/0.002469, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002627/0.002627, allocations: 169.3 kB / 23.56 MB, free: 0.8672 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.719/1.719, allocations: 177.1 MB / 203.9 MB, free: 5.605 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 3.106/3.106, allocations: 377.8 MB / 0.6232 GB, free: 8.52 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 5.16e-06/5.16e-06, allocations: 3.984 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.062e-05/3.578e-05, allocations: 3.156 kB / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.00302/0.003056, allocations: 1.293 MB / 0.8121 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002595/0.00565, allocations: 1.574 MB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.005761, allocations: 8.719 kB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.0059, allocations: 31.55 kB / 0.8137 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.006063, allocations: 80.98 kB / 0.8137 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.007127, allocations: 0.4887 MB / 0.8142 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007668/0.007894, allocations: 0.6559 MB / 0.8148 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002706/0.008165, allocations: 107.1 kB / 0.815 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004697/0.008635, allocations: 367.4 kB / 0.8153 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003238/0.008958, allocations: 199.4 kB / 0.8155 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.009083, allocations: 67.94 kB / 0.8156 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.009259, allocations: 81.08 kB / 0.8156 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.009366, allocations: 79.69 kB / 0.8157 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002646/0.009631, allocations: 191.6 kB / 0.8159 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0009362/0.01057, allocations: 0.7618 MB / 0.8166 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.01057, allocations: 4 kB / 0.8166 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.042e-06/0.01057, allocations: 0 / 0.8166 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.01058, allocations: 0 / 0.8166 GB, free: 12.14 MB / 0.7761 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.001383/0.01196, allocations: 0.9746 MB / 0.8176 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.012, allocations: 8.031 kB / 0.8176 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.01218, allocations: 77.19 kB / 0.8177 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.01334, allocations: 386.5 kB / 0.818 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.431e-05/0.01339, allocations: 24.88 kB / 0.8181 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.404e-05/0.01347, allocations: 40.38 kB / 0.8181 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007008/0.01417, allocations: 421.6 kB / 0.8185 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.01418, allocations: 0.875 kB / 0.8185 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.11e-05/0.01422, allocations: 13.05 kB / 0.8185 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.01423, allocations: 12.12 kB / 0.8185 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006099/0.01484, allocations: 332.6 kB / 0.8188 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.0165, allocations: 0.8152 MB / 0.8196 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006172/0.01711, allocations: 377.3 kB / 0.82 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006054/0.01772, allocations: 323.4 kB / 0.8203 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.01775, allocations: 8 kB / 0.8203 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006336/0.01838, allocations: 424.1 kB / 0.8207 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=44): time 1.964e-06/0.01839, allocations: 0 / 0.8207 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of matching and sorting (n=44): time 0.001638/0.02002, allocations: 0.9627 MB / 0.8217 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/0.02017, allocations: 195.9 kB / 0.8219 GB, free: 6.332 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004376/0.02061, allocations: 390.2 kB / 0.8222 GB, free: 5.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.086e-05/0.02068, allocations: 41.69 kB / 0.8223 GB, free: 5.883 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.02089, allocations: 231.6 kB / 0.8225 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.02103, allocations: 138.9 kB / 0.8226 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/0.02132, allocations: 165 kB / 0.8228 GB, free: 5.348 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003052/0.02162, allocations: 0.5313 MB / 0.8233 GB, free: 4.805 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007645/0.02239, allocations: 0.5047 MB / 0.8238 GB, free: 4.246 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008834/0.02327, allocations: 0.623 MB / 0.8244 GB, free: 3.52 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.02446, allocations: 0.8513 MB / 0.8252 GB, free: 2.547 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.02446, allocations: 0.8125 kB / 0.8252 GB, free: 2.547 MB / 0.7761 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001919/0.02638, allocations: 1.24 MB / 0.8264 GB, free: 1.195 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003555/0.02674, allocations: 267.2 kB / 0.8267 GB, free: 0.8789 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.02675, allocations: 4 kB / 0.8267 GB, free: 0.875 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.02677, allocations: 5.125 kB / 0.8267 GB, free: 0.8711 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.02703, allocations: 55.91 kB / 0.8268 GB, free: 0.8164 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.02704, allocations: 7.938 kB / 0.8268 GB, free: 0.8086 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005906/0.02763, allocations: 113.9 kB / 0.8269 GB, free: 0.6992 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.02776, allocations: 65.23 kB / 0.8269 GB, free: 0.6367 MB / 0.7761 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.0003574/0.02812, allocations: 348.2 kB / 0.8273 GB, free: 264 kB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.208e-05/0.02821, allocations: 59.75 kB / 0.8273 GB, free: 204 kB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.02831, allocations: 47.36 kB / 0.8274 GB, free: 156 kB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.02832, allocations: 7.938 kB / 0.8274 GB, free: 148 kB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.02833, allocations: 5.188 kB / 0.8274 GB, free: 144 kB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.02834, allocations: 0 / 0.8274 GB, free: 144 kB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/0.03026, allocations: 1.21 MB / 0.8286 GB, free: 14.83 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.03026, allocations: 0 / 0.8286 GB, free: 14.83 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.03047, allocations: 55.91 kB / 0.8286 GB, free: 14.78 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.03047, allocations: 0 / 0.8286 GB, free: 14.78 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.953e-05/0.03051, allocations: 20.98 kB / 0.8286 GB, free: 14.76 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.03052, allocations: 0 / 0.8286 GB, free: 14.76 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.03052, allocations: 0 / 0.8286 GB, free: 14.76 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.03172, allocations: 0.8731 MB / 0.8295 GB, free: 13.8 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 6.619e-05/0.03178, allocations: 35.7 kB / 0.8295 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.913e-05/0.03183, allocations: 15.94 kB / 0.8295 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.03201, allocations: 19.97 kB / 0.8296 GB, free: 13.73 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.03212, allocations: 39.94 kB / 0.8296 GB, free: 13.7 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.508e-05/0.0322, allocations: 51.88 kB / 0.8296 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002595/0.03246, allocations: 247 kB / 0.8299 GB, free: 13.4 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.03246, allocations: 0 / 0.8299 GB, free: 13.4 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004803/0.03294, allocations: 111.9 kB / 0.83 GB, free: 13.29 MB / 0.7917 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.0002159/0.03316, allocations: 120.3 kB / 0.8301 GB, free: 13.17 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001887/0.03505, allocations: 1.454 MB / 0.8315 GB, free: 11.51 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.03505, allocations: 0 / 0.8315 GB, free: 11.51 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0007128/0.03576, allocations: 0.6108 MB / 0.8321 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005891/0.03635, allocations: 96.5 kB / 0.8322 GB, free: 10.71 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.03786, allocations: 0.882 MB / 0.8331 GB, free: 9.762 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.03807, allocations: 192.3 kB / 0.8333 GB, free: 9.559 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002162/0.03829, allocations: 79.2 kB / 0.8333 GB, free: 9.48 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.525e-05/0.03837, allocations: 32.5 kB / 0.8334 GB, free: 9.449 MB / 0.7917 GB Notification: Performance of SimCode: time 7.02e-07/0.03837, allocations: 0 / 0.8334 GB, free: 9.449 MB / 0.7917 GB Notification: Performance of Templates: time 0.01467/0.05304, allocations: 7.012 MB / 0.8402 GB, free: 2.598 MB / 0.7917 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 240] 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.633926965063438]