Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Logical.Validation.Or3,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.505/2.505, allocations: 393.5 MB / 408.4 MB, free: 11 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.001103/0.001103, allocations: 186.6 kB / 0.4901 GB, free: 2.238 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.521/1.521, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.000929/0.000929, allocations: 95.28 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005203/0.0005205, allocations: 14.56 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3321, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1858/0.518, allocations: 150.2 MB / 1.376 GB, free: 3.23 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.5183, allocations: 71.97 kB / 1.376 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01295/0.5312, allocations: 4.081 MB / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of FrontEnd: time 6.262e-06/0.5313, allocations: 4 kB / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.782e-05/0.5314, allocations: 0 / 1.38 GB, free: 15.07 MB / 0.8855 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.0009/0.5323, allocations: 476.1 kB / 1.38 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 8.372e-05/0.5324, allocations: 8.562 kB / 1.38 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.254e-05/0.5325, allocations: 34.5 kB / 1.381 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.5327, allocations: 19.84 kB / 1.381 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.5329, allocations: 183 kB / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/0.533, allocations: 4 kB / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.783e-05/0.5331, allocations: 16 kB / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.5333, allocations: 53.67 kB / 1.381 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.5333, allocations: 0 / 1.381 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.5333, allocations: 0 / 1.381 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.5333, allocations: 0 / 1.381 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.302e-05/0.5334, allocations: 23.98 kB / 1.381 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008683/0.5343, allocations: 428.4 kB / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 9.493e-05/0.5344, allocations: 26.58 kB / 1.381 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.5344, allocations: 0 / 1.381 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000278/0.5347, allocations: 99.38 kB / 1.381 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 2.084e-06/0.5347, allocations: 4 kB / 1.381 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0003571/0.5351, allocations: 141.5 kB / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.5351, allocations: 55.41 kB / 1.382 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.5353, allocations: 120.9 kB / 1.382 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.029e-05/0.5353, allocations: 33.7 kB / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.303e-05/0.5354, allocations: 96.12 kB / 1.382 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.5355, allocations: 23.78 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.5355, allocations: 8 kB / 1.382 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5356, allocations: 322.8 kB / 1.382 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.5358, allocations: 87.95 kB / 1.382 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.5361, allocations: 138.6 kB / 1.382 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.5363, allocations: 165 kB / 1.382 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.5363, allocations: 4 kB / 1.382 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006362/0.5369, allocations: 370.4 kB / 1.383 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.273e-05/0.537, allocations: 97.09 kB / 1.383 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.537, allocations: 8.359 kB / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.5371, allocations: 7.953 kB / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.517e-05/0.5371, allocations: 7.938 kB / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.5371, allocations: 4 kB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005177/0.5376, allocations: 120 kB / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.857e-05/0.5377, allocations: 15.98 kB / 1.383 GB, free: 11.62 MB / 0.8855 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,or1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked 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 0.0001421/0.5378, allocations: 127.3 kB / 1.383 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.5379, allocations: 11.89 kB / 1.383 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.5379, allocations: 16.31 kB / 1.383 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.5379, allocations: 4 kB / 1.383 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.5379, allocations: 3.953 kB / 1.383 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.538, allocations: 0 / 1.383 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.5381, allocations: 189.6 kB / 1.383 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.5381, allocations: 0 / 1.383 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.1e-05/0.5381, allocations: 0 / 1.383 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.5382, allocations: 4 kB / 1.383 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.5382, allocations: 4 kB / 1.383 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5382, allocations: 0 / 1.383 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5382, allocations: 0 / 1.383 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.5384, allocations: 144.9 kB / 1.384 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.5384, allocations: 85 kB / 1.384 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.5385, allocations: 4 kB / 1.384 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.592e-05/0.5385, allocations: 4 kB / 1.384 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.5386, allocations: 7.984 kB / 1.384 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.5386, allocations: 7.984 kB / 1.384 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.391e-05/0.5386, allocations: 105.8 kB / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5386, allocations: 4 kB / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002912/0.5389, allocations: 48 kB / 1.384 GB, free: 10.77 MB / 0.8855 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,or1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked 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.0006239/0.5396, allocations: 0.6835 MB / 1.384 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005013/0.5401, allocations: 366.2 kB / 1.385 GB, free: 9.664 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5401, allocations: 4.125 kB / 1.385 GB, free: 9.66 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.762e-05/0.5402, allocations: 43.92 kB / 1.385 GB, free: 9.617 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.5404, allocations: 11.98 kB / 1.385 GB, free: 9.605 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.5416, allocations: 1.346 MB / 1.386 GB, free: 8.176 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.5419, allocations: 0.7043 MB / 1.387 GB, free: 7.445 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.251e-05/0.542, allocations: 8.422 kB / 1.387 GB, free: 7.438 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.332e-05/0.542, allocations: 23.44 kB / 1.387 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of SimCode: time 5.81e-07/0.542, allocations: 0 / 1.387 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.56, allocations: 3.402 MB / 1.39 GB, free: 4.164 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/0.5602, allocations: 177 kB / 1.39 GB, free: 3.93 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/2.198, allocations: 4 kB / 1.39 GB, free: 3.926 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat does not exist to compare? outputFormat=mat