Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.18/2.18, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001071/0.001071, allocations: 179.7 kB / 492.3 MB, free: 0.6289 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.606/1.606, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0009501/0.0009499, allocations: 91.33 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.251e-05/2.254e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2482, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9146/1.163, allocations: 149.6 MB / 1.358 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/1.163, allocations: 73.89 kB / 1.359 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01064/1.174, allocations: 3.728 MB / 1.362 GB, free: 34.59 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.313e-06/1.174, allocations: 0 / 1.362 GB, free: 34.59 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.282e-05/1.174, allocations: 3.844 kB / 1.362 GB, free: 34.59 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003855/1.174, allocations: 452.9 kB / 1.363 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/1.174, allocations: 7.688 kB / 1.363 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.411e-05/1.174, allocations: 16.84 kB / 1.363 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/1.175, allocations: 246 kB / 1.363 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/1.175, allocations: 11.31 kB / 1.363 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/1.175, allocations: 19.03 kB / 1.363 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/1.175, allocations: 123.3 kB / 1.363 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/1.175, allocations: 0 / 1.363 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/1.175, allocations: 15.72 kB / 1.363 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/1.175, allocations: 0 / 1.363 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.472e-05/1.175, allocations: 49.23 kB / 1.363 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005803/1.176, allocations: 0.706 MB / 1.364 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.803e-05/1.176, allocations: 48.94 kB / 1.364 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.826e-05/1.176, allocations: 15.16 kB / 1.364 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/1.176, allocations: 3.906 kB / 1.364 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/1.176, allocations: 91.34 kB / 1.364 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/1.176, allocations: 0 / 1.364 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001878/1.176, allocations: 106 kB / 1.364 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/1.176, allocations: 77.11 kB / 1.364 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/1.176, allocations: 175 kB / 1.364 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/1.176, allocations: 35.05 kB / 1.364 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.803e-05/1.176, allocations: 116.1 kB / 1.364 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/1.176, allocations: 13.09 kB / 1.364 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.67e-05/1.176, allocations: 6.906 kB / 1.364 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.177, allocations: 330.9 kB / 1.365 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/1.177, allocations: 57.02 kB / 1.365 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/1.177, allocations: 123.4 kB / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/1.177, allocations: 111.9 kB / 1.365 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/1.177, allocations: 0 / 1.365 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003584/1.177, allocations: 265 kB / 1.365 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.335e-05/1.177, allocations: 66.86 kB / 1.365 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.177, allocations: 3.906 kB / 1.365 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/1.177, allocations: 1.359 kB / 1.365 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.775e-05/1.177, allocations: 8.031 kB / 1.365 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/1.177, allocations: 7.953 kB / 1.365 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003602/1.178, allocations: 80.44 kB / 1.365 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/1.178, allocations: 9.359 kB / 1.365 GB, free: 32.17 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: 8 ($PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * 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 8.026e-05/1.178, allocations: 115.4 kB / 1.366 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/1.178, allocations: 11.5 kB / 1.366 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/1.178, allocations: 17.86 kB / 1.366 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/1.178, allocations: 3.844 kB / 1.366 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.178, allocations: 0 / 1.366 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.178, allocations: 3.953 kB / 1.366 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/1.178, allocations: 205.6 kB / 1.366 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.178, allocations: 0 / 1.366 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.025e-06/1.178, allocations: 3.719 kB / 1.366 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/1.178, allocations: 96 / 1.366 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/1.178, allocations: 3.938 kB / 1.366 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.178, allocations: 3.719 kB / 1.366 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.178, allocations: 3.984 kB / 1.366 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/1.178, allocations: 131.9 kB / 1.366 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/1.178, allocations: 91.23 kB / 1.366 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/1.178, allocations: 6.844 kB / 1.366 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.344e-05/1.178, allocations: 0 / 1.366 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/1.178, allocations: 7.922 kB / 1.366 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/1.178, allocations: 5.688 kB / 1.366 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.987e-05/1.179, allocations: 143.1 kB / 1.366 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.179, allocations: 0 / 1.366 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002721/1.179, allocations: 45.53 kB / 1.366 GB, free: 31.56 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: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.000137/1.179, allocations: 133.2 kB / 1.366 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002572/1.179, allocations: 229.4 kB / 1.367 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.179, allocations: 3.938 kB / 1.367 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.536e-05/1.179, allocations: 24.75 kB / 1.367 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/1.179, allocations: 18.3 kB / 1.367 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002636/1.18, allocations: 166.4 kB / 1.367 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/1.18, allocations: 0.7106 MB / 1.367 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.378e-05/1.18, allocations: 11.45 kB / 1.367 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.826e-05/1.18, allocations: 14.62 kB / 1.367 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of SimCode: time 3.1e-07/1.18, allocations: 0 / 1.367 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of Templates: time 0.004278/1.184, allocations: 2.238 MB / 1.37 GB, free: 30.32 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches