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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.486/2.486, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.00148/0.00148, allocations: 184.6 kB / 487.4 MB, free: 5.047 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.852/1.852, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 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.001056/0.001056, allocations: 101.5 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.941e-05/1.957e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3363, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.054/1.391, allocations: 149.3 MB / 1.352 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/1.391, allocations: 70.06 kB / 1.352 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01927/1.41, allocations: 6.821 MB / 1.359 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.362e-06/1.41, allocations: 0 / 1.359 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.748e-05/1.41, allocations: 11.62 kB / 1.359 GB, free: 33.75 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.0006246/1.411, allocations: 0.5858 MB / 1.359 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/1.411, allocations: 7.844 kB / 1.359 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/1.411, allocations: 42.58 kB / 1.359 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/1.412, allocations: 305.8 kB / 1.359 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/1.412, allocations: 3.844 kB / 1.359 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.348e-05/1.412, allocations: 32.12 kB / 1.36 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002545/1.412, allocations: 136.6 kB / 1.36 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003256/1.412, allocations: 203.6 kB / 1.36 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/1.412, allocations: 0 / 1.36 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/1.412, allocations: 9.266 kB / 1.36 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/1.412, allocations: 11.73 kB / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/1.414, allocations: 0.7595 MB / 1.361 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/1.414, allocations: 191.5 kB / 1.361 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003091/1.414, allocations: 281.5 kB / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/1.414, allocations: 3.625 kB / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000434/1.415, allocations: 295.7 kB / 1.361 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=39): time 1.983e-06/1.415, allocations: 0 / 1.361 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=39): time 0.0005455/1.415, allocations: 383.5 kB / 1.362 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/1.415, allocations: 139.2 kB / 1.362 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/1.415, allocations: 201.5 kB / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.988e-05/1.415, allocations: 40.77 kB / 1.362 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.854e-05/1.416, allocations: 139.2 kB / 1.362 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/1.416, allocations: 75.48 kB / 1.362 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/1.416, allocations: 7.75 kB / 1.362 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001068/1.416, allocations: 341.6 kB / 1.363 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/1.416, allocations: 204.8 kB / 1.363 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/1.416, allocations: 298 kB / 1.363 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005989/1.417, allocations: 265.6 kB / 1.363 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.417, allocations: 0 / 1.363 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001069/1.418, allocations: 0.6192 MB / 1.364 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.246e-05/1.418, allocations: 139.6 kB / 1.364 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/1.418, allocations: 3.969 kB / 1.364 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/1.418, allocations: 3.906 kB / 1.364 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.28e-05/1.418, allocations: 21.47 kB / 1.364 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/1.418, allocations: 3.875 kB / 1.364 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006584/1.419, allocations: 150.1 kB / 1.364 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.726e-05/1.419, allocations: 71.72 kB / 1.364 GB, free: 31.39 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.0001597/1.419, allocations: 152.2 kB / 1.364 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004522/1.42, allocations: 375.5 kB / 1.365 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/1.42, allocations: 27.19 kB / 1.365 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005317/1.42, allocations: 407.4 kB / 1.365 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/1.42, allocations: 3.844 kB / 1.365 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.42, allocations: 4 kB / 1.365 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/1.42, allocations: 2.625 kB / 1.365 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007623/1.421, allocations: 0.7446 MB / 1.366 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.421, allocations: 4 kB / 1.366 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.553e-05/1.421, allocations: 22.5 kB / 1.366 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/1.421, allocations: 0 / 1.366 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/1.421, allocations: 7.594 kB / 1.366 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-06/1.421, allocations: 0 / 1.366 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/1.421, allocations: 3.094 kB / 1.366 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004564/1.422, allocations: 476.1 kB / 1.366 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/1.422, allocations: 103.5 kB / 1.367 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/1.422, allocations: 4 kB / 1.367 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/1.422, allocations: 10.77 kB / 1.367 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/1.422, allocations: 28.09 kB / 1.367 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/1.422, allocations: 18.02 kB / 1.367 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001381/1.422, allocations: 152.6 kB / 1.367 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.422, allocations: 0 / 1.367 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000439/1.423, allocations: 88.97 kB / 1.367 GB, free: 30.48 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.0008054/1.423, allocations: 1.054 MB / 1.368 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006981/1.424, allocations: 0.6922 MB / 1.369 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.424, allocations: 0.5 kB / 1.369 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001761/1.424, allocations: 186.2 kB / 1.369 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/1.425, allocations: 50.31 kB / 1.369 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009781/1.426, allocations: 0.5054 MB / 1.369 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/1.426, allocations: 0.7792 MB / 1.37 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001867/1.426, allocations: 85.88 kB / 1.37 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/1.427, allocations: 103.1 kB / 1.37 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of SimCode: time 3.71e-07/1.427, allocations: 0 / 1.37 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/1.452, allocations: 6.862 MB / 1.377 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/1.452, allocations: 159.6 kB / 1.377 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.026/3.478, allocations: 0 / 1.377 GB, free: 27.91 MB / 0.8386 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat does not exist to compare? outputFormat=mat