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.412/2.412, allocations: 393.5 MB / 408.4 MB, free: 10.86 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.001442/0.001442, allocations: 191.5 kB / 0.4902 GB, free: 2.082 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.614/1.614, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.001061/0.001061, allocations: 100.3 kB / 0.9396 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004277/0.0004281, allocations: 11.5 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4102, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2192/0.6295, allocations: 150.8 MB / 1.376 GB, free: 2.715 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/0.6299, allocations: 75.95 kB / 1.377 GB, free: 2.641 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02348/0.6534, allocations: 7.431 MB / 1.384 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.996e-06/0.6534, allocations: 0 / 1.384 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.488e-05/0.6535, allocations: 8 kB / 1.384 GB, free: 11.19 MB / 0.8855 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.001281/0.6547, allocations: 0.6577 MB / 1.384 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.6548, allocations: 12.56 kB / 1.384 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002444/0.6551, allocations: 43.58 kB / 1.385 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007534/0.6558, allocations: 350.8 kB / 1.385 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.687e-05/0.6559, allocations: 24.44 kB / 1.385 GB, free: 9.996 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.656, allocations: 36 kB / 1.385 GB, free: 9.961 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005199/0.6566, allocations: 259.2 kB / 1.385 GB, free: 9.699 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.6566, allocations: 4 kB / 1.385 GB, free: 9.695 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.6566, allocations: 8 kB / 1.385 GB, free: 9.688 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.6566, allocations: 11.95 kB / 1.385 GB, free: 9.676 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002792/0.6569, allocations: 165.7 kB / 1.385 GB, free: 9.516 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.6584, allocations: 0.9348 MB / 1.386 GB, free: 8.527 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/0.6588, allocations: 238.6 kB / 1.386 GB, free: 8.285 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.6588, allocations: 4.125 kB / 1.386 GB, free: 8.281 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004401/0.6593, allocations: 301.5 kB / 1.387 GB, free: 7.961 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=39): time 1.973e-06/0.6593, allocations: 0 / 1.387 GB, free: 7.961 MB / 0.8855 GB Notification: Performance of matching and sorting (n=39): time 0.0009609/0.6603, allocations: 0.5581 MB / 1.387 GB, free: 7.398 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.145e-05/0.6604, allocations: 144.4 kB / 1.387 GB, free: 7.227 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002939/0.6607, allocations: 269.9 kB / 1.388 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.041e-05/0.6607, allocations: 41.7 kB / 1.388 GB, free: 6.91 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.6609, allocations: 153 kB / 1.388 GB, free: 6.754 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.529e-05/0.661, allocations: 82.95 kB / 1.388 GB, free: 6.672 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.661, allocations: 20 kB / 1.388 GB, free: 6.652 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.6612, allocations: 342.8 kB / 1.388 GB, free: 6.309 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004362/0.6616, allocations: 240.3 kB / 1.389 GB, free: 6.074 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004699/0.6621, allocations: 336.7 kB / 1.389 GB, free: 5.711 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000474/0.6626, allocations: 362.7 kB / 1.389 GB, free: 5.332 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.6626, allocations: 4 kB / 1.389 GB, free: 5.328 MB / 0.8855 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00122/0.6638, allocations: 0.781 MB / 1.39 GB, free: 4.516 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.6639, allocations: 138.8 kB / 1.39 GB, free: 4.355 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.664, allocations: 3.938 kB / 1.39 GB, free: 4.352 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.664, allocations: 4 kB / 1.39 GB, free: 4.348 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.6643, allocations: 59.91 kB / 1.39 GB, free: 4.289 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.6643, allocations: 4 kB / 1.39 GB, free: 4.285 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007108/0.665, allocations: 175.8 kB / 1.39 GB, free: 4.113 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.6651, allocations: 75.84 kB / 1.39 GB, free: 4.039 MB / 0.8855 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 () * Number of clocked 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.0002435/0.6654, allocations: 186.6 kB / 1.391 GB, free: 3.848 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.6654, allocations: 31.62 kB / 1.391 GB, free: 3.816 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007/0.6662, allocations: 472.6 kB / 1.391 GB, free: 3.348 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.6662, allocations: 7.938 kB / 1.391 GB, free: 3.34 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.6662, allocations: 0 / 1.391 GB, free: 3.34 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.6662, allocations: 0 / 1.391 GB, free: 3.34 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.6673, allocations: 0.8692 MB / 1.392 GB, free: 2.414 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.6673, allocations: 0 / 1.392 GB, free: 2.414 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.6674, allocations: 47.92 kB / 1.392 GB, free: 2.367 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.6675, allocations: 0 / 1.392 GB, free: 2.367 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.6675, allocations: 15.98 kB / 1.392 GB, free: 2.352 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.6675, allocations: 4 kB / 1.392 GB, free: 2.348 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.6675, allocations: 3.953 kB / 1.392 GB, free: 2.344 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006345/0.6681, allocations: 0.5105 MB / 1.392 GB, free: 1.816 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.47e-05/0.6683, allocations: 120.6 kB / 1.393 GB, free: 1.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.911e-05/0.6683, allocations: 8 kB / 1.393 GB, free: 1.672 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.6684, allocations: 11.98 kB / 1.393 GB, free: 1.66 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/0.6685, allocations: 27.97 kB / 1.393 GB, free: 1.633 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.6685, allocations: 15.95 kB / 1.393 GB, free: 1.617 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002196/0.6688, allocations: 215.1 kB / 1.393 GB, free: 1.406 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6688, allocations: 0 / 1.393 GB, free: 1.406 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000432/0.6692, allocations: 103.9 kB / 1.393 GB, free: 1.305 MB / 0.8855 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 () * Number of clocked 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.0002226/0.6694, allocations: 141.8 kB / 1.393 GB, free: 1.16 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001034/0.6705, allocations: 0.752 MB / 1.394 GB, free: 368 kB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.6705, allocations: 3.938 kB / 1.394 GB, free: 364 kB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.6708, allocations: 208.2 kB / 1.394 GB, free: 156 kB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.6712, allocations: 73.61 kB / 1.394 GB, free: 84 kB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.6723, allocations: 0.7087 MB / 1.395 GB, free: 15.35 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.6728, allocations: 0.7969 MB / 1.396 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001967/0.673, allocations: 90.88 kB / 1.396 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.954e-05/0.673, allocations: 39.42 kB / 1.396 GB, free: 14.4 MB / 0.9011 GB Notification: Performance of SimCode: time 4.11e-07/0.673, allocations: 0 / 1.396 GB, free: 14.4 MB / 0.9011 GB Notification: Performance of Templates: time 0.01/0.6831, allocations: 5.468 MB / 1.401 GB, free: 8.98 MB / 0.9011 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