Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.41/2.41, allocations: 390.3 MB / 402.8 MB, free: 6.691 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009442/0.0009442, allocations: 180.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 221.3 MB / 0.7915 GB, free: 5.465 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009738/0.0009737, allocations: 91.95 kB / 0.9317 GB, free: 5.777 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.7e-05/3.734e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3389, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.094/1.433, allocations: 150.7 MB / 1.366 GB, free: 3.383 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/1.434, allocations: 71.77 kB / 1.366 GB, free: 3.344 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02241/1.456, allocations: 7.417 MB / 1.373 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.394e-06/1.456, allocations: 0 / 1.373 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.758e-05/1.456, allocations: 4 kB / 1.373 GB, free: 12.95 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001345/1.458, allocations: 0.6299 MB / 1.374 GB, free: 12.28 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.184e-05/1.458, allocations: 11.97 kB / 1.374 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003343/1.458, allocations: 51.48 kB / 1.374 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008513/1.459, allocations: 336.7 kB / 1.374 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.251e-05/1.459, allocations: 27.86 kB / 1.374 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/1.459, allocations: 38.5 kB / 1.374 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005411/1.46, allocations: 251.1 kB / 1.375 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/1.46, allocations: 4 kB / 1.375 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/1.46, allocations: 14.36 kB / 1.375 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/1.46, allocations: 11.95 kB / 1.375 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000321/1.46, allocations: 164.7 kB / 1.375 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/1.462, allocations: 0.922 MB / 1.376 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/1.462, allocations: 237.3 kB / 1.376 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003993/1.463, allocations: 293.4 kB / 1.376 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/1.463, allocations: 0 / 1.376 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004952/1.463, allocations: 312.6 kB / 1.376 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=39): time 3.236e-06/1.463, allocations: 0 / 1.376 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=39): time 0.0007841/1.464, allocations: 423.2 kB / 1.377 GB, free: 9.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/1.464, allocations: 136.5 kB / 1.377 GB, free: 9.586 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003521/1.464, allocations: 263.3 kB / 1.377 GB, free: 9.375 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.263e-05/1.465, allocations: 44.7 kB / 1.377 GB, free: 9.332 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/1.465, allocations: 162.7 kB / 1.377 GB, free: 9.203 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.202e-05/1.465, allocations: 76 kB / 1.378 GB, free: 9.141 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/1.465, allocations: 15.44 kB / 1.378 GB, free: 9.133 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001803/1.465, allocations: 349.9 kB / 1.378 GB, free: 8.797 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004516/1.466, allocations: 228.7 kB / 1.378 GB, free: 8.648 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005115/1.466, allocations: 330.4 kB / 1.378 GB, free: 8.379 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005165/1.467, allocations: 370 kB / 1.379 GB, free: 8.066 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/1.467, allocations: 0 / 1.379 GB, free: 8.066 MB / 0.8386 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001229/1.468, allocations: 0.7745 MB / 1.38 GB, free: 7.426 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000148/1.468, allocations: 137.5 kB / 1.38 GB, free: 7.277 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/1.468, allocations: 4 kB / 1.38 GB, free: 7.273 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/1.468, allocations: 7.953 kB / 1.38 GB, free: 7.266 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/1.468, allocations: 59.41 kB / 1.38 GB, free: 7.211 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/1.468, allocations: 7.938 kB / 1.38 GB, free: 7.203 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007724/1.469, allocations: 167.2 kB / 1.38 GB, free: 7.047 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/1.469, allocations: 75.41 kB / 1.38 GB, free: 6.977 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 43 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt.u[1],extIndInt.u[2],extIndInt.u[3],extIndInt.u[4],extIndInt.y,extIndInt1.u[1],extIndInt1.u[2],extIndInt1.u[3],extIndInt1.u[4],extIndInt1.y,extIndInt2.u[1],extIndInt2.u[2],extIndInt2.u[3],extIndInt2.u[4],extIndInt2.y,extIndInt3.index,extIndInt3.u[1],extIndInt3.u[2],extIndInt3.u[3],extIndInt3.u[4],extIndInt3.y,extIndInt4.index,extIndInt4.u[1],extIndInt4.u[2],extIndInt4.u[3],extIndInt4.u[4],extIndInt4.y,$PRE.intPul.booPul.y,intPul.booPul.y,$PRE.intPul1.booPul.y,intPul1.booPul.y,$PRE.intPul2.booPul.y,intPul2.booPul.y,$PRE.intPul3.booPul.y,intPul3.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002225/1.469, allocations: 150.3 kB / 1.38 GB, free: 6.836 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.094e-05/1.47, allocations: 35.62 kB / 1.38 GB, free: 6.801 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007178/1.47, allocations: 453.6 kB / 1.381 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/1.47, allocations: 4 kB / 1.381 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/1.47, allocations: 7.953 kB / 1.381 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/1.47, allocations: 3.984 kB / 1.381 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/1.471, allocations: 0.8616 MB / 1.381 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/1.471, allocations: 3.984 kB / 1.381 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/1.472, allocations: 55.91 kB / 1.381 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/1.472, allocations: 0 / 1.381 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/1.472, allocations: 15.14 kB / 1.381 GB, free: 5.617 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/1.472, allocations: 4 kB / 1.381 GB, free: 5.613 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.472, allocations: 0 / 1.381 GB, free: 5.613 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006572/1.472, allocations: 0.4991 MB / 1.382 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/1.473, allocations: 119.9 kB / 1.382 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/1.473, allocations: 7.875 kB / 1.382 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/1.473, allocations: 18.88 kB / 1.382 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.29e-05/1.473, allocations: 27.77 kB / 1.382 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/1.473, allocations: 11.88 kB / 1.382 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002289/1.473, allocations: 213.6 kB / 1.382 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.41e-07/1.473, allocations: 4 kB / 1.382 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004555/1.474, allocations: 106.4 kB / 1.382 GB, free: 4.738 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 43 ($cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt.u[1],extIndInt.u[2],extIndInt.u[3],extIndInt.u[4],extIndInt.y,extIndInt1.u[1],extIndInt1.u[2],extIndInt1.u[3],extIndInt1.u[4],extIndInt1.y,extIndInt2.u[1],extIndInt2.u[2],extIndInt2.u[3],extIndInt2.u[4],extIndInt2.y,extIndInt3.index,extIndInt3.u[1],extIndInt3.u[2],extIndInt3.u[3],extIndInt3.u[4],extIndInt3.y,extIndInt4.index,extIndInt4.u[1],extIndInt4.u[2],extIndInt4.u[3],extIndInt4.u[4],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.booPul.y,intPul3.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002593/1.474, allocations: 139.2 kB / 1.383 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001004/1.475, allocations: 0.7528 MB / 1.383 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.475, allocations: 0 / 1.383 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002633/1.475, allocations: 203.7 kB / 1.384 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/1.476, allocations: 69.16 kB / 1.384 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/1.477, allocations: 0.5015 MB / 1.384 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/1.477, allocations: 0.7928 MB / 1.385 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002373/1.477, allocations: 90.88 kB / 1.385 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.161e-05/1.477, allocations: 35.42 kB / 1.385 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of SimCode: time 5.31e-07/1.477, allocations: 4 kB / 1.385 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of Templates: time 0.01229/1.49, allocations: 5.479 MB / 1.39 GB, free: 12.98 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches