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.59/2.59, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001558/0.001558, allocations: 180.8 kB / 487.4 MB, free: 5.039 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.611/1.611, allocations: 221.5 MB / 0.7824 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009451/0.0009452, allocations: 99.02 kB / 0.9219 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.832e-05/1.835e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2736, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8479/1.122, allocations: 149.3 MB / 1.352 GB, free: 18.51 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/1.122, allocations: 76.42 kB / 1.352 GB, free: 18.51 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01947/1.141, allocations: 6.815 MB / 1.358 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.302e-06/1.141, allocations: 0 / 1.358 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.625e-05/1.141, allocations: 7.719 kB / 1.358 GB, free: 33.84 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.0005963/1.142, allocations: 0.5886 MB / 1.359 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/1.142, allocations: 11.59 kB / 1.359 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.724e-05/1.142, allocations: 38.67 kB / 1.359 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/1.143, allocations: 304.3 kB / 1.359 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/1.143, allocations: 9.188 kB / 1.359 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.636e-05/1.143, allocations: 23.22 kB / 1.359 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002107/1.143, allocations: 137 kB / 1.36 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/1.143, allocations: 206.8 kB / 1.36 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/1.143, allocations: 5.547 kB / 1.36 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/1.143, allocations: 3.656 kB / 1.36 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/1.143, allocations: 15.77 kB / 1.36 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009436/1.144, allocations: 0.7598 MB / 1.361 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/1.144, allocations: 182.2 kB / 1.361 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003129/1.145, allocations: 292.4 kB / 1.361 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/1.145, allocations: 3.875 kB / 1.361 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003101/1.145, allocations: 291.3 kB / 1.361 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=39): time 1.653e-06/1.145, allocations: 0 / 1.361 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=39): time 0.0004839/1.146, allocations: 384.1 kB / 1.362 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/1.146, allocations: 145.6 kB / 1.362 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/1.146, allocations: 200.5 kB / 1.362 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.291e-05/1.146, allocations: 33.42 kB / 1.362 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.179e-05/1.146, allocations: 138.5 kB / 1.362 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/1.146, allocations: 66.55 kB / 1.362 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/1.146, allocations: 7.688 kB / 1.362 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001272/1.146, allocations: 345.8 kB / 1.363 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/1.147, allocations: 209.9 kB / 1.363 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/1.147, allocations: 293.9 kB / 1.363 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005941/1.147, allocations: 264.7 kB / 1.363 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.147, allocations: 0 / 1.363 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001061/1.149, allocations: 0.6224 MB / 1.364 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.344e-05/1.149, allocations: 141.9 kB / 1.364 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/1.149, allocations: 0 / 1.364 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/1.149, allocations: 7.625 kB / 1.364 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.252e-05/1.149, allocations: 14.45 kB / 1.364 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/1.149, allocations: 3.75 kB / 1.364 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006404/1.149, allocations: 152.7 kB / 1.364 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-05/1.15, allocations: 78.61 kB / 1.364 GB, free: 31.48 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.0001354/1.15, allocations: 145.8 kB / 1.364 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/1.15, allocations: 27.19 kB / 1.364 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004803/1.15, allocations: 417.1 kB / 1.365 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/1.15, allocations: 6.469 kB / 1.365 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.15, allocations: 3.969 kB / 1.365 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1.15, allocations: 0 / 1.365 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006339/1.151, allocations: 0.7439 MB / 1.366 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/1.151, allocations: 0 / 1.366 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.1e-05/1.151, allocations: 25.69 kB / 1.366 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/1.151, allocations: 0 / 1.366 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/1.151, allocations: 6.516 kB / 1.366 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/1.151, allocations: 0 / 1.366 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.151, allocations: 0 / 1.366 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004215/1.151, allocations: 483.5 kB / 1.366 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-05/1.151, allocations: 100.5 kB / 1.366 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/1.152, allocations: 2.766 kB / 1.366 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/1.152, allocations: 10.41 kB / 1.366 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/1.152, allocations: 28.34 kB / 1.366 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/1.152, allocations: 15.09 kB / 1.366 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001097/1.152, allocations: 150.1 kB / 1.366 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/1.152, allocations: 3.938 kB / 1.366 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004419/1.152, allocations: 95.66 kB / 1.366 GB, free: 30.62 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.0001657/1.152, allocations: 129.7 kB / 1.367 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006518/1.153, allocations: 0.6998 MB / 1.367 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.153, allocations: 4.188 kB / 1.367 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001762/1.153, allocations: 193.4 kB / 1.367 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/1.154, allocations: 42.19 kB / 1.367 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006084/1.154, allocations: 460.5 kB / 1.368 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/1.155, allocations: 0.772 MB / 1.369 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001764/1.155, allocations: 94.06 kB / 1.369 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.577e-05/1.155, allocations: 36.66 kB / 1.369 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of SimCode: time 3.61e-07/1.155, allocations: 0 / 1.369 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of Templates: time 0.007288/1.162, allocations: 4.487 MB / 1.373 GB, free: 29.03 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