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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",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.31/2.31, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001185/0.001185, allocations: 184.8 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.616/1.616, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 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.0008049/0.0008048, allocations: 103.8 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.422e-05/3.383e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.316, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.062/1.378, allocations: 148.9 MB / 1.351 GB, free: 18.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/1.378, allocations: 70.19 kB / 1.352 GB, free: 18.16 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01219/1.39, allocations: 3.706 MB / 1.355 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.843e-06/1.39, allocations: 0 / 1.355 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.457e-05/1.39, allocations: 3.906 kB / 1.355 GB, free: 33.68 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.0005181/1.391, allocations: 466 kB / 1.356 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.543e-05/1.391, allocations: 8.344 kB / 1.356 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.38e-05/1.391, allocations: 21.91 kB / 1.356 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/1.391, allocations: 232 kB / 1.356 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/1.391, allocations: 8.422 kB / 1.356 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.268e-05/1.391, allocations: 12.19 kB / 1.356 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001202/1.392, allocations: 37.03 kB / 1.356 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/1.392, allocations: 116.2 kB / 1.356 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/1.392, allocations: 3.953 kB / 1.356 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/1.392, allocations: 4.594 kB / 1.356 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/1.392, allocations: 3.844 kB / 1.356 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006968/1.392, allocations: 0.6697 MB / 1.357 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.096e-05/1.393, allocations: 33.62 kB / 1.357 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/1.393, allocations: 21.81 kB / 1.357 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/1.393, allocations: 0 / 1.357 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/1.393, allocations: 96.97 kB / 1.357 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/1.393, allocations: 0 / 1.357 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002217/1.393, allocations: 89.17 kB / 1.357 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/1.393, allocations: 81.55 kB / 1.357 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/1.393, allocations: 147.8 kB / 1.357 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/1.393, allocations: 29.67 kB / 1.357 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.34e-05/1.393, allocations: 122 kB / 1.357 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.216e-05/1.393, allocations: 5.078 kB / 1.357 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.953e-05/1.393, allocations: 7.875 kB / 1.357 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.393, allocations: 325.8 kB / 1.358 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.689e-05/1.394, allocations: 47.66 kB / 1.358 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/1.394, allocations: 114 kB / 1.358 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/1.394, allocations: 73.94 kB / 1.358 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.394, allocations: 0 / 1.358 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000482/1.395, allocations: 202.8 kB / 1.358 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.828e-05/1.395, allocations: 69.2 kB / 1.358 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.395, allocations: 4.125 kB / 1.358 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/1.395, allocations: 7.844 kB / 1.358 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.85e-05/1.395, allocations: 3.938 kB / 1.358 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/1.395, allocations: 3.844 kB / 1.358 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/1.395, allocations: 75.23 kB / 1.358 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/1.395, allocations: 19.02 kB / 1.358 GB, free: 31.43 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.644e-05/1.395, allocations: 111.7 kB / 1.358 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.296e-05/1.395, allocations: 81.55 kB / 1.358 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/1.395, allocations: 7.75 kB / 1.358 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/1.395, allocations: 15.28 kB / 1.358 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/1.395, allocations: 4 kB / 1.358 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.395, allocations: 3.953 kB / 1.358 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/1.395, allocations: 3.844 kB / 1.358 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/1.395, allocations: 169.6 kB / 1.359 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.395, allocations: 0 / 1.359 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.846e-06/1.395, allocations: 3.25 kB / 1.359 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/1.395, allocations: 3.844 kB / 1.359 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/1.396, allocations: 3.047 kB / 1.359 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/1.396, allocations: 0 / 1.359 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.396, allocations: 3.844 kB / 1.359 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/1.396, allocations: 132.4 kB / 1.359 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.454e-05/1.396, allocations: 88.23 kB / 1.359 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/1.396, allocations: 0 / 1.359 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.189e-05/1.396, allocations: 3.984 kB / 1.359 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/1.396, allocations: 10.61 kB / 1.359 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/1.396, allocations: 7.781 kB / 1.359 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.466e-05/1.396, allocations: 110.5 kB / 1.359 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.396, allocations: 0 / 1.359 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002738/1.396, allocations: 49.5 kB / 1.359 GB, free: 30.8 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.0004452/1.397, allocations: 0.7407 MB / 1.36 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002596/1.397, allocations: 224.8 kB / 1.36 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/1.397, allocations: 3.844 kB / 1.36 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.571e-05/1.397, allocations: 25.5 kB / 1.36 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/1.397, allocations: 22.16 kB / 1.36 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/1.398, allocations: 199.7 kB / 1.36 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/1.398, allocations: 0.7196 MB / 1.361 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.344e-05/1.398, allocations: 10.48 kB / 1.361 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/1.398, allocations: 33.69 kB / 1.361 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.398, allocations: 0 / 1.361 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02119/1.419, allocations: 3.009 MB / 1.364 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/1.419, allocations: 156 kB / 1.364 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/3.024, allocations: 5.312 kB / 1.364 GB, free: 28.7 MB / 0.8386 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat does not exist to compare? outputFormat=mat