Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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.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_9_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_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.363/2.363, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001379/0.001379, allocations: 180.9 kB / 492.3 MB, free: 0.6172 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.572/1.572, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0008386/0.0008385, allocations: 101.8 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.509e-05/3.525e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2529, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8879/1.141, allocations: 149.9 MB / 1.359 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/1.141, allocations: 71.11 kB / 1.359 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01891/1.16, allocations: 6.859 MB / 1.366 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.613e-06/1.16, allocations: 0 / 1.366 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.163e-05/1.16, allocations: 11.88 kB / 1.366 GB, free: 34.27 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.0006166/1.161, allocations: 0.5799 MB / 1.366 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/1.161, allocations: 11.5 kB / 1.366 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/1.161, allocations: 38.7 kB / 1.366 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004701/1.161, allocations: 311.7 kB / 1.367 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/1.162, allocations: 22.34 kB / 1.367 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.21e-05/1.162, allocations: 37.03 kB / 1.367 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/1.162, allocations: 228.5 kB / 1.367 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/1.162, allocations: 3.875 kB / 1.367 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/1.162, allocations: 13.33 kB / 1.367 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/1.162, allocations: 7.75 kB / 1.367 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/1.162, allocations: 148.7 kB / 1.367 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/1.163, allocations: 0.8147 MB / 1.368 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/1.164, allocations: 194.1 kB / 1.368 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003088/1.164, allocations: 300.5 kB / 1.368 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/1.164, allocations: 3.844 kB / 1.368 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000353/1.164, allocations: 299.9 kB / 1.369 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=39): time 1.533e-06/1.164, allocations: 0 / 1.369 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=39): time 0.0005362/1.165, allocations: 411.6 kB / 1.369 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/1.165, allocations: 136 kB / 1.369 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/1.165, allocations: 231.4 kB / 1.369 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/1.165, allocations: 40.23 kB / 1.369 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.741e-05/1.165, allocations: 138.9 kB / 1.369 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.136e-05/1.165, allocations: 81.59 kB / 1.37 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/1.165, allocations: 11.62 kB / 1.37 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001126/1.165, allocations: 340.9 kB / 1.37 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/1.166, allocations: 224.9 kB / 1.37 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/1.166, allocations: 311.2 kB / 1.37 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/1.166, allocations: 352.9 kB / 1.371 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/1.166, allocations: 7.938 kB / 1.371 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009629/1.167, allocations: 0.7417 MB / 1.371 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.529e-05/1.168, allocations: 132.5 kB / 1.372 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/1.168, allocations: 0 / 1.372 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/1.168, allocations: 3.969 kB / 1.372 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.804e-05/1.168, allocations: 24.77 kB / 1.372 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/1.168, allocations: 7.844 kB / 1.372 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006299/1.168, allocations: 156.2 kB / 1.372 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.655e-05/1.168, allocations: 78.28 kB / 1.372 GB, free: 31.63 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.000146/1.169, allocations: 161.7 kB / 1.372 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/1.169, allocations: 23.34 kB / 1.372 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005933/1.169, allocations: 453.3 kB / 1.372 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/1.169, allocations: 3.875 kB / 1.372 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.169, allocations: 4 kB / 1.372 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.169, allocations: 6.656 kB / 1.372 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007389/1.17, allocations: 0.8177 MB / 1.373 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.17, allocations: 0 / 1.373 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.678e-05/1.17, allocations: 22.52 kB / 1.373 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/1.17, allocations: 0 / 1.373 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/1.17, allocations: 12.47 kB / 1.373 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/1.17, allocations: 0 / 1.373 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.17, allocations: 3.875 kB / 1.373 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005611/1.171, allocations: 0.4974 MB / 1.374 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/1.171, allocations: 106.9 kB / 1.374 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.199e-05/1.171, allocations: 9.578 kB / 1.374 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/1.171, allocations: 9.391 kB / 1.374 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/1.171, allocations: 35.67 kB / 1.374 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/1.171, allocations: 10.94 kB / 1.374 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000179/1.171, allocations: 178 kB / 1.374 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.91e-07/1.171, allocations: 0 / 1.374 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004504/1.172, allocations: 104.9 kB / 1.374 GB, free: 30.75 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.0002135/1.172, allocations: 140 kB / 1.374 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008892/1.173, allocations: 0.7368 MB / 1.375 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.173, allocations: 4.062 kB / 1.375 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002642/1.173, allocations: 192.1 kB / 1.375 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/1.174, allocations: 57.91 kB / 1.375 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007878/1.174, allocations: 475.3 kB / 1.376 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/1.175, allocations: 0.7768 MB / 1.376 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001683/1.175, allocations: 93.38 kB / 1.377 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.025e-05/1.175, allocations: 37.75 kB / 1.377 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of SimCode: time 1.142e-06/1.175, allocations: 0 / 1.377 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of Templates: time 0.007864/1.183, allocations: 4.924 MB / 1.381 GB, free: 29.01 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches