Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.Or,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or",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.414/2.414, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001521/0.001521, allocations: 188.7 kB / 487.4 MB, free: 5.059 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.517/1.517, allocations: 221.5 MB / 0.7824 GB, free: 0.8984 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.001199/0.001199, allocations: 101.5 kB / 0.9219 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.582e-05/2.571e-05, allocations: 4 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3049, allocations: 142.4 MB / 1.206 GB, free: 43.79 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8103/1.115, allocations: 148.6 MB / 1.351 GB, free: 17.95 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/1.116, allocations: 67.31 kB / 1.351 GB, free: 17.95 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009552/1.125, allocations: 2.915 MB / 1.354 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.302e-06/1.125, allocations: 0 / 1.354 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.506e-06/1.125, allocations: 4 kB / 1.354 GB, free: 33.51 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003861/1.126, allocations: 413.9 kB / 1.355 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/1.126, allocations: 8.438 kB / 1.355 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.355e-05/1.126, allocations: 7.688 kB / 1.355 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.307e-05/1.126, allocations: 172.1 kB / 1.355 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/1.126, allocations: 0.75 kB / 1.355 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/1.126, allocations: 12.33 kB / 1.355 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.771e-05/1.126, allocations: 18.62 kB / 1.355 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.65e-05/1.126, allocations: 42.78 kB / 1.355 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/1.126, allocations: 4.516 kB / 1.355 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/1.126, allocations: 0.5156 kB / 1.355 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/1.126, allocations: 3.781 kB / 1.355 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/1.126, allocations: 328.4 kB / 1.355 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.755e-05/1.127, allocations: 37.8 kB / 1.355 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.394e-05/1.127, allocations: 12.05 kB / 1.355 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/1.127, allocations: 7.938 kB / 1.355 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/1.127, allocations: 73.23 kB / 1.355 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/1.127, allocations: 0 / 1.355 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001863/1.127, allocations: 84.77 kB / 1.355 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/1.127, allocations: 56.08 kB / 1.355 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.877e-05/1.127, allocations: 110.2 kB / 1.355 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/1.127, allocations: 29.55 kB / 1.355 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.125e-05/1.127, allocations: 101.2 kB / 1.356 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/1.127, allocations: 5.078 kB / 1.356 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.942e-05/1.127, allocations: 3.812 kB / 1.356 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.127, allocations: 329 kB / 1.356 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.189e-05/1.127, allocations: 50.89 kB / 1.356 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/1.128, allocations: 77.34 kB / 1.356 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/1.128, allocations: 70.08 kB / 1.356 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/1.128, allocations: 0 / 1.356 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004617/1.128, allocations: 202 kB / 1.356 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.492e-05/1.128, allocations: 70.38 kB / 1.356 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.128, allocations: 4.875 kB / 1.356 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/1.128, allocations: 4.312 kB / 1.356 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.869e-05/1.128, allocations: 0.6562 kB / 1.356 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/1.129, allocations: 4.578 kB / 1.356 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/1.129, allocations: 73.34 kB / 1.356 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/1.129, allocations: 10.33 kB / 1.356 GB, free: 31.71 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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 9.994e-05/1.129, allocations: 125.3 kB / 1.357 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.526e-05/1.129, allocations: 74.3 kB / 1.357 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.828e-06/1.129, allocations: 8.438 kB / 1.357 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.473e-05/1.129, allocations: 13.22 kB / 1.357 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/1.129, allocations: 3.938 kB / 1.357 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.129, allocations: 0.5625 kB / 1.357 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/1.129, allocations: 0.7969 kB / 1.357 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.059e-05/1.129, allocations: 157.9 kB / 1.357 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.129, allocations: 0.6094 kB / 1.357 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.906e-06/1.129, allocations: 0.7031 kB / 1.357 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/1.129, allocations: 0 / 1.357 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/1.129, allocations: 8.562 kB / 1.357 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.129, allocations: 0 / 1.357 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.129, allocations: 4.672 kB / 1.357 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/1.129, allocations: 101 kB / 1.357 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.58e-05/1.129, allocations: 85.64 kB / 1.357 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/1.129, allocations: 4.25 kB / 1.357 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.97e-05/1.13, allocations: 0.5625 kB / 1.357 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/1.13, allocations: 6.453 kB / 1.357 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/1.13, allocations: 3.875 kB / 1.357 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.637e-05/1.13, allocations: 87.64 kB / 1.357 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.13, allocations: 4 kB / 1.357 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002365/1.13, allocations: 32.05 kB / 1.357 GB, free: 31.13 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0004317/1.13, allocations: 0.6574 MB / 1.358 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002723/1.131, allocations: 229.7 kB / 1.358 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.131, allocations: 256 / 1.358 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.698e-05/1.131, allocations: 23.39 kB / 1.358 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/1.131, allocations: 14.66 kB / 1.358 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000378/1.131, allocations: 131.7 kB / 1.358 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/1.131, allocations: 0.6927 MB / 1.359 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.913e-05/1.132, allocations: 16.84 kB / 1.359 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/1.132, allocations: 24.62 kB / 1.359 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.132, allocations: 0 / 1.359 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02317/1.155, allocations: 2.139 MB / 1.361 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/1.155, allocations: 136.7 kB / 1.361 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/2.717, allocations: 1.125 kB / 1.361 GB, free: 29.22 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat does not exist to compare? outputFormat=mat