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.0009699/0.0009699, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001503/0.001503, allocations: 185 kB / 24.09 MB, free: 416 kB / 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 0.9616/0.9616, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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 1.894/1.894, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 177] 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.[0-9,]+.|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.[0-9,]+.|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 1.934e-06/1.934e-06, allocations: 0 / 0.812 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.776e-05, allocations: 2.312 kB / 0.812 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001972/0.002, allocations: 1.273 MB / 0.8133 GB, free: 156 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001731/0.003731, allocations: 1.611 MB / 0.8148 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.003854, allocations: 4 kB / 0.8148 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.003994, allocations: 37.12 kB / 0.8149 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.004116, allocations: 87.25 kB / 0.815 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008559/0.004972, allocations: 480.2 kB / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005214/0.005493, allocations: 0.6688 MB / 0.8161 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002386/0.005732, allocations: 109.3 kB / 0.8162 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003945/0.006126, allocations: 391.9 kB / 0.8166 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.006354, allocations: 182 kB / 0.8167 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.895e-05/0.006423, allocations: 48 kB / 0.8168 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.006545, allocations: 57.09 kB / 0.8168 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.32e-05/0.006628, allocations: 75.69 kB / 0.8169 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.006762, allocations: 167.7 kB / 0.8171 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003871/0.007149, allocations: 431.6 kB / 0.8175 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.007153, allocations: 0 / 0.8175 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.064e-06/0.007155, allocations: 0 / 0.8175 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.007161, allocations: 0.9062 kB / 0.8175 GB, free: 11.84 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.001126/0.008287, allocations: 0.9529 MB / 0.8184 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.00833, allocations: 12.03 kB / 0.8184 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.051e-05/0.00842, allocations: 68.7 kB / 0.8185 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.00871, allocations: 305.8 kB / 0.8188 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.829e-05/0.008749, allocations: 28.88 kB / 0.8188 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.439e-05/0.008793, allocations: 40.38 kB / 0.8188 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.009111, allocations: 345.8 kB / 0.8192 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.009121, allocations: 192 / 0.8192 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.00914, allocations: 16.36 kB / 0.8192 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.009148, allocations: 4.875 kB / 0.8192 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.009292, allocations: 220.4 kB / 0.8194 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000841/0.01013, allocations: 0.716 MB / 0.8201 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.01035, allocations: 288.2 kB / 0.8204 GB, free: 8.613 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.01048, allocations: 241.3 kB / 0.8206 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.0105, allocations: 8 kB / 0.8206 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002585/0.01075, allocations: 343.3 kB / 0.8209 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=44): time 2.575e-06/0.01076, allocations: 0.8438 kB / 0.8209 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of matching and sorting (n=44): time 0.0005352/0.01129, allocations: 0.7604 MB / 0.8217 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/0.01136, allocations: 197.2 kB / 0.8219 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.01155, allocations: 318.1 kB / 0.8222 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.01159, allocations: 41.7 kB / 0.8222 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.0117, allocations: 224.4 kB / 0.8224 GB, free: 6.266 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.048e-05/0.01177, allocations: 134.9 kB / 0.8226 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.01191, allocations: 144.9 kB / 0.8227 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.01205, allocations: 0.5234 MB / 0.8232 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.01228, allocations: 384.2 kB / 0.8236 GB, free: 5.02 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.01255, allocations: 0.4908 MB / 0.824 GB, free: 4.43 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007679/0.01331, allocations: 0.6862 MB / 0.8247 GB, free: 3.617 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.01332, allocations: 4 kB / 0.8247 GB, free: 3.613 MB / 0.7761 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0006715/0.01399, allocations: 1.001 MB / 0.8257 GB, free: 2.5 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.01409, allocations: 271.3 kB / 0.826 GB, free: 2.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.0141, allocations: 0 / 0.826 GB, free: 2.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.01412, allocations: 9.062 kB / 0.826 GB, free: 2.172 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.01426, allocations: 59.91 kB / 0.826 GB, free: 2.113 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.01427, allocations: 9.047 kB / 0.826 GB, free: 2.105 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/0.01453, allocations: 109.5 kB / 0.8261 GB, free: 2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.681e-05/0.01459, allocations: 63.86 kB / 0.8262 GB, free: 1.938 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.0001821/0.01477, allocations: 339.2 kB / 0.8265 GB, free: 1.566 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.01483, allocations: 59.75 kB / 0.8266 GB, free: 1.508 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.048e-05/0.01489, allocations: 39.44 kB / 0.8266 GB, free: 1.469 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.0149, allocations: 8.844 kB / 0.8266 GB, free: 1.461 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.0149, allocations: 0 / 0.8266 GB, free: 1.461 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.01491, allocations: 3.984 kB / 0.8266 GB, free: 1.457 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007611/0.01567, allocations: 0.9735 MB / 0.8276 GB, free: 404 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01567, allocations: 3.938 kB / 0.8276 GB, free: 400 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.01579, allocations: 63.84 kB / 0.8276 GB, free: 336 kB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.01579, allocations: 4 kB / 0.8276 GB, free: 332 kB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.01581, allocations: 11.98 kB / 0.8277 GB, free: 320 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.01581, allocations: 4 kB / 0.8277 GB, free: 316 kB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01581, allocations: 1.562 kB / 0.8277 GB, free: 316 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004295/0.01624, allocations: 0.7244 MB / 0.8284 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.01627, allocations: 43.62 kB / 0.8284 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.0163, allocations: 8 kB / 0.8284 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.369e-05/0.01639, allocations: 26.67 kB / 0.8284 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.01645, allocations: 39.89 kB / 0.8285 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.261e-05/0.01649, allocations: 43.94 kB / 0.8285 GB, free: 15.35 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 9.876e-05/0.01659, allocations: 203 kB / 0.8287 GB, free: 15.15 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.01659, allocations: 0 / 0.8287 GB, free: 15.15 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002779/0.01687, allocations: 115.9 kB / 0.8288 GB, free: 15.04 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.0001659/0.01704, allocations: 118.2 kB / 0.8289 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0006699/0.01771, allocations: 1.193 MB / 0.8301 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01771, allocations: 0 / 0.8301 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.01795, allocations: 0.5323 MB / 0.8306 GB, free: 12.89 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.01828, allocations: 88.58 kB / 0.8307 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.01944, allocations: 0.8118 MB / 0.8315 GB, free: 11.93 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.742e-05/0.01951, allocations: 109 kB / 0.8316 GB, free: 11.8 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 9.966e-05/0.01961, allocations: 47.27 kB / 0.8317 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002927/0.0199, allocations: 226.1 kB / 0.8319 GB, free: 11.53 MB / 0.7917 GB Notification: Performance of SimCode: time 1.092e-06/0.0199, allocations: 0 / 0.8319 GB, free: 11.53 MB / 0.7917 GB Notification: Performance of Templates: time 0.009372/0.02928, allocations: 7.53 MB / 0.8392 GB, free: 4.188 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.310407299082726]