Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.222/2.222, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.001303/0.001303, allocations: 184.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 221.3 MB / 0.7915 GB, free: 5.367 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.0009355/0.0009353, allocations: 95.89 kB / 0.9317 GB, free: 5.672 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.61e-05/2.613e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2435, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8804/1.124, allocations: 150.4 MB / 1.366 GB, free: 3.594 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/1.124, allocations: 70.95 kB / 1.366 GB, free: 3.555 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01104/1.135, allocations: 3.73 MB / 1.369 GB, free: 308 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.372e-06/1.135, allocations: 0 / 1.369 GB, free: 308 kB / 0.823 GB Notification: Performance of Transformations before backend: time 1.483e-05/1.135, allocations: 7.938 kB / 1.369 GB, free: 300 kB / 0.823 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.0004609/1.136, allocations: 459.5 kB / 1.37 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/1.136, allocations: 8.031 kB / 1.37 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.274e-05/1.136, allocations: 40.44 kB / 1.37 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.631e-05/1.136, allocations: 19.86 kB / 1.37 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/1.136, allocations: 239.5 kB / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/1.136, allocations: 10.62 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.329e-05/1.136, allocations: 15.19 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/1.137, allocations: 131.4 kB / 1.37 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/1.137, allocations: 0 / 1.37 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/1.137, allocations: 10.8 kB / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/1.137, allocations: 0 / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.769e-05/1.137, allocations: 48.05 kB / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007125/1.138, allocations: 0.7038 MB / 1.371 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.823e-05/1.138, allocations: 41.47 kB / 1.371 GB, free: 14.53 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.387e-05/1.138, allocations: 21.72 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/1.138, allocations: 0 / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001287/1.138, allocations: 90.58 kB / 1.371 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/1.138, allocations: 0 / 1.371 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002191/1.138, allocations: 102.9 kB / 1.371 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/1.138, allocations: 85.11 kB / 1.371 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/1.138, allocations: 174.4 kB / 1.372 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/1.138, allocations: 29.7 kB / 1.372 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.234e-05/1.138, allocations: 124.5 kB / 1.372 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/1.138, allocations: 7.812 kB / 1.372 GB, free: 13.9 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.76e-05/1.138, allocations: 11.88 kB / 1.372 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001011/1.139, allocations: 322.8 kB / 1.372 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/1.139, allocations: 57.98 kB / 1.372 GB, free: 13.53 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/1.139, allocations: 132.2 kB / 1.372 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/1.139, allocations: 110.9 kB / 1.372 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.139, allocations: 4.031 kB / 1.372 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004038/1.139, allocations: 259.8 kB / 1.373 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.948e-05/1.139, allocations: 68.39 kB / 1.373 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/1.139, allocations: 0 / 1.373 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/1.14, allocations: 7.953 kB / 1.373 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.796e-05/1.14, allocations: 7.938 kB / 1.373 GB, free: 12.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/1.14, allocations: 4.062 kB / 1.373 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003896/1.14, allocations: 87.39 kB / 1.373 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/1.14, allocations: 12 kB / 1.373 GB, free: 12.87 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.47e-05/1.14, allocations: 116 kB / 1.373 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.894e-05/1.14, allocations: 11.91 kB / 1.373 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/1.14, allocations: 12.12 kB / 1.373 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/1.14, allocations: 0 / 1.373 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/1.14, allocations: 7.953 kB / 1.373 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.14, allocations: 0 / 1.373 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/1.14, allocations: 202 kB / 1.373 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/1.14, allocations: 0 / 1.373 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.065e-05/1.14, allocations: 7.375 kB / 1.373 GB, free: 12.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/1.14, allocations: 8 kB / 1.373 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/1.14, allocations: 0 / 1.373 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/1.14, allocations: 0 / 1.373 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/1.14, allocations: 0 / 1.373 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/1.141, allocations: 128.6 kB / 1.373 GB, free: 12.34 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-05/1.141, allocations: 92.91 kB / 1.373 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/1.141, allocations: 7.25 kB / 1.373 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.473e-05/1.141, allocations: 4 kB / 1.373 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/1.141, allocations: 11.94 kB / 1.373 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/1.141, allocations: 0 / 1.373 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001145/1.141, allocations: 150.4 kB / 1.373 GB, free: 12.09 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.141, allocations: 0 / 1.373 GB, free: 12.09 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002697/1.141, allocations: 47.36 kB / 1.374 GB, free: 12.04 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.0004959/1.142, allocations: 0.7397 MB / 1.374 GB, free: 11.28 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002962/1.142, allocations: 234.9 kB / 1.374 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.142, allocations: 3.938 kB / 1.374 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.154e-05/1.142, allocations: 29.91 kB / 1.375 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/1.142, allocations: 24.38 kB / 1.375 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004292/1.143, allocations: 206.6 kB / 1.375 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/1.143, allocations: 0.7198 MB / 1.375 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.596e-05/1.143, allocations: 12.55 kB / 1.375 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/1.143, allocations: 37.17 kB / 1.375 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of SimCode: time 3.51e-07/1.143, allocations: 4 kB / 1.375 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/1.16, allocations: 3.692 MB / 1.379 GB, free: 6.523 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/1.16, allocations: 176.1 kB / 1.379 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/2.839, allocations: 0 / 1.379 GB, free: 6.297 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat does not exist to compare? outputFormat=mat