Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndBoo.u.1.|extIndBoo.u.2.|extIndBoo.u.3.|extIndBoo.u.4.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndBoo.u.1.|extIndBoo.u.2.|extIndBoo.u.3.|extIndBoo.u.4.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.203/2.203, allocations: 390.5 MB / 398 MB, free: 10.93 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.001186/0.001186, allocations: 183.1 kB / 491.2 MB, free: 1.578 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.641/1.641, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.000961/0.000961, allocations: 91.84 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.891e-05/1.894e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3428, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.149/1.491, allocations: 150.1 MB / 1.359 GB, free: 17.53 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/1.492, allocations: 71.27 kB / 1.359 GB, free: 17.53 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02513/1.517, allocations: 6.835 MB / 1.366 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.795e-06/1.517, allocations: 2.484 kB / 1.366 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.175e-05/1.517, allocations: 3.812 kB / 1.366 GB, free: 32.85 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0007391/1.518, allocations: 0.5788 MB / 1.366 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/1.518, allocations: 7.656 kB / 1.366 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/1.518, allocations: 45.77 kB / 1.366 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005785/1.518, allocations: 304.7 kB / 1.367 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/1.518, allocations: 3.656 kB / 1.367 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.531e-05/1.519, allocations: 34.41 kB / 1.367 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003227/1.519, allocations: 131.1 kB / 1.367 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/1.519, allocations: 212.5 kB / 1.367 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/1.519, allocations: 0 / 1.367 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/1.519, allocations: 3.953 kB / 1.367 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/1.519, allocations: 3.812 kB / 1.367 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/1.521, allocations: 0.7682 MB / 1.368 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/1.521, allocations: 186.7 kB / 1.368 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004356/1.521, allocations: 277.5 kB / 1.368 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/1.522, allocations: 3.75 kB / 1.368 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004573/1.522, allocations: 293.3 kB / 1.368 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=39): time 2.374e-06/1.522, allocations: 0 / 1.368 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=39): time 0.0007412/1.523, allocations: 379.6 kB / 1.369 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/1.523, allocations: 139.3 kB / 1.369 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/1.523, allocations: 200 kB / 1.369 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.942e-05/1.523, allocations: 40.23 kB / 1.369 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/1.523, allocations: 136.8 kB / 1.369 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.902e-05/1.523, allocations: 74.42 kB / 1.369 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/1.523, allocations: 7.719 kB / 1.369 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000155/1.524, allocations: 338.7 kB / 1.37 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004428/1.524, allocations: 205 kB / 1.37 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004729/1.525, allocations: 305.7 kB / 1.37 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008791/1.525, allocations: 260 kB / 1.37 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.525, allocations: 0 / 1.37 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00163/1.527, allocations: 0.6243 MB / 1.371 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/1.527, allocations: 137 kB / 1.371 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/1.527, allocations: 11.91 kB / 1.371 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/1.527, allocations: 3.938 kB / 1.371 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/1.527, allocations: 21.52 kB / 1.371 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/1.527, allocations: 3.812 kB / 1.371 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008851/1.528, allocations: 144.8 kB / 1.371 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/1.528, allocations: 77.22 kB / 1.371 GB, free: 30.5 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,extIndBoo.u[1],extIndBoo.u[2],extIndBoo.u[3],extIndBoo.u[4],extIndBoo.y,extIndBoo1.u[1],extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.u[4],extIndBoo1.y,extIndBoo2.u[1],extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.u[4],extIndBoo2.y,extIndBoo3.index,extIndBoo3.u[1],extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.u[4],extIndBoo3.y,extIndBoo4.index,extIndBoo4.u[1],extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.u[4],extIndBoo4.y,$PRE.booPul.y,booPul.y,$PRE.booPul1.y,booPul1.y,$PRE.intPul.booPul.y,intPul.booPul.y,$PRE.intPul1.booPul.y,intPul1.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.0002383/1.529, allocations: 149.4 kB / 1.372 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.917e-05/1.529, allocations: 31.09 kB / 1.372 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000746/1.53, allocations: 410.8 kB / 1.372 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/1.53, allocations: 3.969 kB / 1.372 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.53, allocations: 11.78 kB / 1.372 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/1.53, allocations: 3.094 kB / 1.372 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009833/1.531, allocations: 0.7382 MB / 1.373 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/1.531, allocations: 0 / 1.373 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/1.531, allocations: 25.75 kB / 1.373 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/1.531, allocations: 3.844 kB / 1.373 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/1.531, allocations: 2.766 kB / 1.373 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/1.531, allocations: 3.812 kB / 1.373 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.531, allocations: 0 / 1.373 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000612/1.531, allocations: 474.5 kB / 1.373 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-05/1.531, allocations: 107 kB / 1.373 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.853e-05/1.532, allocations: 3.875 kB / 1.373 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/1.532, allocations: 6.906 kB / 1.373 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.844e-05/1.532, allocations: 32.78 kB / 1.373 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/1.532, allocations: 10.44 kB / 1.373 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001772/1.532, allocations: 157.2 kB / 1.373 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.2e-07/1.532, allocations: 0 / 1.373 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006557/1.533, allocations: 88.62 kB / 1.374 GB, free: 29.64 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,extIndBoo.u[1],extIndBoo.u[2],extIndBoo.u[3],extIndBoo.u[4],extIndBoo.y,extIndBoo1.u[1],extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.u[4],extIndBoo1.y,extIndBoo2.u[1],extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.u[4],extIndBoo2.y,extIndBoo3.index,extIndBoo3.u[1],extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.u[4],extIndBoo3.y,extIndBoo4.index,extIndBoo4.u[1],extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.u[4],extIndBoo4.y,booPul.y,booPul1.y,intPul.booPul.y,intPul1.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.0002317/1.533, allocations: 134.8 kB / 1.374 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00102/1.534, allocations: 0.6919 MB / 1.374 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.534, allocations: 0 / 1.374 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002563/1.534, allocations: 188.9 kB / 1.375 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/1.535, allocations: 53.27 kB / 1.375 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/1.536, allocations: 458 kB / 1.375 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004948/1.536, allocations: 0.7764 MB / 1.376 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002621/1.537, allocations: 91.98 kB / 1.376 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.739e-05/1.537, allocations: 33.56 kB / 1.376 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of SimCode: time 9.21e-07/1.537, allocations: 0 / 1.376 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of Templates: time 0.01152/1.548, allocations: 4.5 MB / 1.38 GB, free: 28.06 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches