Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.367/2.367, allocations: 390.3 MB / 402.8 MB, free: 6.664 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.001065/0.001065, allocations: 176.9 kB / 496.1 MB, free: 12.84 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.577/1.577, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.0009813/0.0009813, allocations: 103.9 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.447e-05/3.449e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3676, allocations: 143 MB / 1.219 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.091/1.459, allocations: 150.6 MB / 1.366 GB, free: 3.414 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/1.459, allocations: 70.78 kB / 1.366 GB, free: 3.379 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01256/1.472, allocations: 4.3 MB / 1.37 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.595e-06/1.472, allocations: 0 / 1.37 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.125e-05/1.472, allocations: 4 kB / 1.37 GB, free: 15.65 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007077/1.472, allocations: 497.6 kB / 1.371 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/1.472, allocations: 8.031 kB / 1.371 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.763e-05/1.473, allocations: 23.81 kB / 1.371 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005185/1.473, allocations: 267.7 kB / 1.371 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.254e-05/1.473, allocations: 19.61 kB / 1.371 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.273e-05/1.473, allocations: 19.31 kB / 1.371 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/1.473, allocations: 155.4 kB / 1.371 GB, free: 14.65 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/1.474, allocations: 0 / 1.371 GB, free: 14.65 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/1.474, allocations: 3.75 kB / 1.371 GB, free: 14.65 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/1.474, allocations: 4 kB / 1.371 GB, free: 14.65 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/1.474, allocations: 68.3 kB / 1.371 GB, free: 14.6 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/1.475, allocations: 0.8151 MB / 1.372 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/1.475, allocations: 62.14 kB / 1.372 GB, free: 13.76 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.284e-05/1.475, allocations: 29.59 kB / 1.372 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/1.475, allocations: 0 / 1.372 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/1.475, allocations: 107.7 kB / 1.372 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 3.377e-06/1.475, allocations: 0 / 1.372 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002818/1.475, allocations: 123.1 kB / 1.372 GB, free: 13.51 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/1.476, allocations: 77.11 kB / 1.372 GB, free: 13.42 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/1.476, allocations: 206.6 kB / 1.372 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/1.476, allocations: 32.83 kB / 1.373 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/1.476, allocations: 138.2 kB / 1.373 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/1.476, allocations: 15.81 kB / 1.373 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/1.476, allocations: 6.375 kB / 1.373 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001609/1.476, allocations: 331.9 kB / 1.373 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/1.476, allocations: 73.69 kB / 1.373 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/1.477, allocations: 142.1 kB / 1.373 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/1.477, allocations: 129.2 kB / 1.373 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.477, allocations: 0 / 1.373 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004796/1.477, allocations: 300.5 kB / 1.374 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.506e-05/1.477, allocations: 69.27 kB / 1.374 GB, free: 12.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/1.477, allocations: 4 kB / 1.374 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/1.477, allocations: 4.125 kB / 1.374 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.445e-05/1.477, allocations: 7.938 kB / 1.374 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/1.477, allocations: 7.984 kB / 1.374 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003851/1.478, allocations: 79.34 kB / 1.374 GB, free: 12.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/1.478, allocations: 23.92 kB / 1.374 GB, free: 12.01 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition3,$whenCondition4,extIntSig.u[2],$PRE.intPul.booPul.y,intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig.u[3],$PRE.intPul1.booPul.y,intPul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0001556/1.478, allocations: 113.2 kB / 1.374 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/1.478, allocations: 15.81 kB / 1.374 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.065e-05/1.478, allocations: 19.17 kB / 1.374 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/1.478, allocations: 4 kB / 1.374 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.478, allocations: 4 kB / 1.374 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/1.478, allocations: 0 / 1.374 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/1.478, allocations: 240.8 kB / 1.374 GB, free: 11.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.478, allocations: 7.875 kB / 1.374 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/1.478, allocations: 7.984 kB / 1.374 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/1.478, allocations: 0 / 1.374 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/1.478, allocations: 6.938 kB / 1.374 GB, free: 11.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/1.478, allocations: 0 / 1.374 GB, free: 11.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.479, allocations: 3.938 kB / 1.374 GB, free: 11.58 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/1.479, allocations: 154 kB / 1.374 GB, free: 11.42 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.62e-05/1.479, allocations: 96.16 kB / 1.374 GB, free: 11.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/1.479, allocations: 4 kB / 1.374 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.952e-05/1.479, allocations: 0 / 1.374 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.362e-05/1.479, allocations: 15.11 kB / 1.374 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/1.479, allocations: 0 / 1.374 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001853/1.479, allocations: 165.9 kB / 1.375 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.81e-07/1.479, allocations: 4 kB / 1.375 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003289/1.48, allocations: 55.2 kB / 1.375 GB, free: 11.1 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig.u[2],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig.u[3],intPul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002196/1.48, allocations: 120.1 kB / 1.375 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004493/1.48, allocations: 268.1 kB / 1.375 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.48, allocations: 0 / 1.375 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.134e-05/1.48, allocations: 43.11 kB / 1.375 GB, free: 10.72 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/1.481, allocations: 31.58 kB / 1.375 GB, free: 10.69 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000479/1.481, allocations: 204.1 kB / 1.375 GB, free: 10.49 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/1.482, allocations: 0.736 MB / 1.376 GB, free: 9.727 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.12e-05/1.482, allocations: 17.2 kB / 1.376 GB, free: 9.711 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/1.482, allocations: 15.44 kB / 1.376 GB, free: 9.695 MB / 0.8386 GB Notification: Performance of SimCode: time 7.51e-07/1.482, allocations: 0 / 1.376 GB, free: 9.695 MB / 0.8386 GB Notification: Performance of Templates: time 0.00609/1.488, allocations: 2.783 MB / 1.379 GB, free: 6.945 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches