Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.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.IntegerVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intFil.u.1.|intFil.u.2.|intFil.u.3.|intFil.y.1.|intFil.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intFil.u.1.|intFil.u.2.|intFil.u.3.|intFil.y.1.|intFil.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.235/2.235, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001024/0.001024, allocations: 176.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.67/1.67, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.0009825/0.0009828, allocations: 88.02 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.403e-05/3.415e-05, allocations: 5.641 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.343, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.118/1.461, allocations: 149.4 MB / 1.365 GB, free: 4.613 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/1.461, allocations: 67.02 kB / 1.365 GB, free: 4.578 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002946/1.464, allocations: 0.9969 MB / 1.366 GB, free: 3.691 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.233e-06/1.464, allocations: 0.5 kB / 1.366 GB, free: 3.691 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.173e-05/1.464, allocations: 4.594 kB / 1.366 GB, free: 3.688 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002947/1.464, allocations: 331 kB / 1.366 GB, free: 3.324 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/1.464, allocations: 12.03 kB / 1.366 GB, free: 3.312 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/1.464, allocations: 7.906 kB / 1.366 GB, free: 3.305 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/1.465, allocations: 186.3 kB / 1.366 GB, free: 3.086 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/1.465, allocations: 3.938 kB / 1.366 GB, free: 3.082 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/1.465, allocations: 4 kB / 1.366 GB, free: 3.078 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/1.465, allocations: 79.06 kB / 1.366 GB, free: 2.996 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/1.465, allocations: 4 kB / 1.366 GB, free: 2.992 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/1.465, allocations: 4 kB / 1.366 GB, free: 2.988 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/1.465, allocations: 0 / 1.366 GB, free: 2.988 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.952e-05/1.465, allocations: 27.05 kB / 1.366 GB, free: 2.969 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/1.465, allocations: 0.5992 MB / 1.367 GB, free: 2.328 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.483e-05/1.465, allocations: 169.1 kB / 1.367 GB, free: 2.152 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.748e-05/1.466, allocations: 84.14 kB / 1.367 GB, free: 2.066 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/1.466, allocations: 79.22 kB / 1.367 GB, free: 1.992 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.305e-05/1.466, allocations: 109.8 kB / 1.367 GB, free: 1.875 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/1.466, allocations: 4 kB / 1.367 GB, free: 1.871 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 9.538e-05/1.466, allocations: 41.53 kB / 1.367 GB, free: 1.824 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.879e-05/1.466, allocations: 126.7 kB / 1.368 GB, free: 1.688 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/1.466, allocations: 140.2 kB / 1.368 GB, free: 1.555 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/1.466, allocations: 29.7 kB / 1.368 GB, free: 1.52 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.006e-05/1.466, allocations: 91.88 kB / 1.368 GB, free: 1.434 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/1.466, allocations: 0 / 1.368 GB, free: 1.434 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-07/1.466, allocations: 4 kB / 1.368 GB, free: 1.43 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.466, allocations: 318.7 kB / 1.368 GB, free: 1.113 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.16e-06/1.466, allocations: 0 / 1.368 GB, free: 1.113 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.759e-05/1.466, allocations: 4 kB / 1.368 GB, free: 1.109 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.477e-05/1.466, allocations: 75.28 kB / 1.368 GB, free: 1.035 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.404e-05/1.466, allocations: 75.28 kB / 1.368 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.952e-05/1.466, allocations: 41.53 kB / 1.368 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.367e-05/1.467, allocations: 83.28 kB / 1.368 GB, free: 0.832 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.452e-05/1.467, allocations: 90.59 kB / 1.368 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.557e-05/1.467, allocations: 154.6 kB / 1.369 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.61e-05/1.467, allocations: 79.22 kB / 1.369 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.679e-05/1.467, allocations: 150.6 kB / 1.369 GB, free: 376 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.871e-05/1.467, allocations: 83.72 kB / 1.369 GB, free: 292 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/1.467, allocations: 79.27 kB / 1.369 GB, free: 212 kB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001598/1.467, allocations: 264 kB / 1.369 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.425e-05/1.467, allocations: 108.9 kB / 1.369 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.697e-05/1.467, allocations: 116.4 kB / 1.369 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.068e-05/1.467, allocations: 184.2 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.391e-05/1.467, allocations: 190.7 kB / 1.37 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.888e-05/1.468, allocations: 176.3 kB / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/1.468, allocations: 420.6 kB / 1.37 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.333e-05/1.468, allocations: 104.9 kB / 1.37 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.952e-05/1.468, allocations: 105 kB / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.976e-05/1.468, allocations: 184.1 kB / 1.371 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.34e-05/1.468, allocations: 176.3 kB / 1.371 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-05/1.468, allocations: 185.2 kB / 1.371 GB, free: 13.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.9e-05/1.468, allocations: 188.2 kB / 1.371 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/1.469, allocations: 307.3 kB / 1.372 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/1.469, allocations: 190 kB / 1.372 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/1.469, allocations: 184.2 kB / 1.372 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.099e-05/1.469, allocations: 105 kB / 1.372 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/1.469, allocations: 184.7 kB / 1.372 GB, free: 12.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.752e-05/1.469, allocations: 104.9 kB / 1.372 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001094/1.469, allocations: 122.2 kB / 1.372 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.469, allocations: 0 / 1.372 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002545/1.469, allocations: 4 kB / 1.372 GB, free: 12.5 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002177/1.47, allocations: 182.5 kB / 1.373 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.703e-05/1.47, allocations: 0 / 1.373 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.47, allocations: 0 / 1.373 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/1.47, allocations: 0 / 1.373 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/1.47, allocations: 0.5288 MB / 1.373 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/1.471, allocations: 161.2 kB / 1.373 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/1.471, allocations: 0.6926 MB / 1.374 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.765e-05/1.471, allocations: 4 kB / 1.374 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/1.471, allocations: 7.438 kB / 1.374 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of SimCode: time 3.01e-07/1.471, allocations: 0 / 1.374 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of Templates: time 0.00296/1.474, allocations: 409.9 kB / 1.374 GB, free: 10.49 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches