Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.Logical.Validation.And3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3",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.382/2.382, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001011/0.001011, allocations: 176.9 kB / 492.3 MB, free: 0.625 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.567/1.567, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.001083/0.001082, allocations: 98 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.244e-05/5.247e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3029, allocations: 142.3 MB / 1.213 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.036/1.339, allocations: 149.3 MB / 1.358 GB, free: 18.99 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/1.34, allocations: 72.69 kB / 1.358 GB, free: 18.99 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01128/1.351, allocations: 4.063 MB / 1.362 GB, free: 34.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.515e-06/1.351, allocations: 7.875 kB / 1.362 GB, free: 34.49 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.468e-06/1.351, allocations: 0 / 1.362 GB, free: 34.49 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004524/1.351, allocations: 450 kB / 1.363 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/1.351, allocations: 11.69 kB / 1.363 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.714e-05/1.351, allocations: 32.2 kB / 1.363 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.207e-05/1.352, allocations: 15.44 kB / 1.363 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/1.352, allocations: 181.5 kB / 1.363 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/1.352, allocations: 12.78 kB / 1.363 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/1.352, allocations: 11.69 kB / 1.363 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/1.352, allocations: 56.94 kB / 1.363 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/1.352, allocations: 3.938 kB / 1.363 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/1.352, allocations: 1.547 kB / 1.363 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/1.352, allocations: 3.938 kB / 1.363 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.563e-05/1.352, allocations: 23.06 kB / 1.363 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000634/1.353, allocations: 414 kB / 1.364 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.217e-05/1.353, allocations: 31.31 kB / 1.364 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.045e-05/1.353, allocations: 23.92 kB / 1.364 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/1.353, allocations: 0 / 1.364 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/1.353, allocations: 97.2 kB / 1.364 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/1.353, allocations: 4 kB / 1.364 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002236/1.353, allocations: 113 kB / 1.364 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/1.353, allocations: 60.94 kB / 1.364 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.719e-05/1.353, allocations: 123.3 kB / 1.364 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/1.353, allocations: 34.94 kB / 1.364 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.165e-05/1.353, allocations: 96.69 kB / 1.364 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/1.353, allocations: 23.61 kB / 1.364 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/1.353, allocations: 3.906 kB / 1.364 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.156e-05/1.354, allocations: 328.9 kB / 1.364 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/1.354, allocations: 81.89 kB / 1.365 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/1.354, allocations: 135.6 kB / 1.365 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/1.354, allocations: 172.3 kB / 1.365 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.354, allocations: 96 / 1.365 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004741/1.355, allocations: 369 kB / 1.365 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.203e-05/1.355, allocations: 100.2 kB / 1.365 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/1.355, allocations: 0 / 1.365 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/1.355, allocations: 3.844 kB / 1.365 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.305e-05/1.355, allocations: 17.33 kB / 1.365 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/1.355, allocations: 0 / 1.365 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000442/1.355, allocations: 109.2 kB / 1.365 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/1.355, allocations: 20.03 kB / 1.365 GB, free: 32.33 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.967e-05/1.355, allocations: 125.1 kB / 1.366 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/1.355, allocations: 7.625 kB / 1.366 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/1.355, allocations: 13.42 kB / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/1.355, allocations: 0 / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/1.355, allocations: 3.953 kB / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.355, allocations: 0 / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/1.355, allocations: 190.6 kB / 1.366 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.356, allocations: 0 / 1.366 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.027e-05/1.356, allocations: 7.781 kB / 1.366 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/1.356, allocations: 0 / 1.366 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/1.356, allocations: 5.578 kB / 1.366 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.356, allocations: 4 kB / 1.366 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/1.356, allocations: 0 / 1.366 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/1.356, allocations: 137.1 kB / 1.366 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.164e-05/1.356, allocations: 86.42 kB / 1.366 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/1.356, allocations: 0 / 1.366 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.406e-05/1.356, allocations: 3.422 kB / 1.366 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/1.356, allocations: 10.66 kB / 1.366 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/1.356, allocations: 6.703 kB / 1.366 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.492e-05/1.356, allocations: 106.1 kB / 1.366 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.356, allocations: 0 / 1.366 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002471/1.356, allocations: 53.92 kB / 1.366 GB, free: 31.74 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000402/1.357, allocations: 0.6814 MB / 1.367 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003572/1.357, allocations: 360.3 kB / 1.367 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/1.357, allocations: 0 / 1.367 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.254e-05/1.357, allocations: 34.22 kB / 1.367 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/1.357, allocations: 22.69 kB / 1.367 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003839/1.358, allocations: 172.2 kB / 1.367 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/1.358, allocations: 0.707 MB / 1.368 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.866e-05/1.358, allocations: 8.328 kB / 1.368 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/1.358, allocations: 29.3 kB / 1.368 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of SimCode: time 3.21e-07/1.358, allocations: 3.938 kB / 1.368 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0139/1.372, allocations: 3.417 MB / 1.371 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003074/1.372, allocations: 153.8 kB / 1.372 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/2.917, allocations: 0 / 1.372 GB, free: 29.54 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat does not exist to compare? outputFormat=mat