Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.312/2.312, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.001037/0.001037, allocations: 176.1 kB / 492.3 MB, free: 0.6211 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.574/1.574, allocations: 221.3 MB / 0.7872 GB, free: 12.92 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.0009599/0.00096, allocations: 97.64 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.211e-05/4.216e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3168, allocations: 142.4 MB / 1.213 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.127/1.444, allocations: 149.3 MB / 1.358 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/1.444, allocations: 70.59 kB / 1.358 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01292/1.457, allocations: 4.066 MB / 1.362 GB, free: 34.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.715e-06/1.457, allocations: 0 / 1.362 GB, free: 34.57 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.29e-05/1.457, allocations: 0 / 1.362 GB, free: 34.57 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.000575/1.458, allocations: 446.2 kB / 1.363 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/1.458, allocations: 13.27 kB / 1.363 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.437e-05/1.458, allocations: 33.5 kB / 1.363 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/1.458, allocations: 17.19 kB / 1.363 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/1.458, allocations: 174.6 kB / 1.363 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/1.458, allocations: 12.06 kB / 1.363 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.715e-05/1.458, allocations: 16.92 kB / 1.363 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/1.458, allocations: 58.33 kB / 1.363 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/1.458, allocations: 4 kB / 1.363 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/1.458, allocations: 3.312 kB / 1.363 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/1.458, allocations: 9.188 kB / 1.363 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.343e-05/1.459, allocations: 14.81 kB / 1.363 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005815/1.459, allocations: 417.4 kB / 1.364 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.268e-05/1.459, allocations: 38.62 kB / 1.364 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.189e-05/1.459, allocations: 17.06 kB / 1.364 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.144e-06/1.459, allocations: 0 / 1.364 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/1.459, allocations: 93.28 kB / 1.364 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.804e-06/1.459, allocations: 0 / 1.364 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002963/1.46, allocations: 122.4 kB / 1.364 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/1.46, allocations: 62.41 kB / 1.364 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/1.46, allocations: 128.3 kB / 1.364 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/1.46, allocations: 31.17 kB / 1.364 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.125e-05/1.46, allocations: 95.94 kB / 1.364 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/1.46, allocations: 22.77 kB / 1.364 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/1.46, allocations: 11.09 kB / 1.364 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001094/1.46, allocations: 317.5 kB / 1.364 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/1.46, allocations: 89.78 kB / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/1.461, allocations: 134.5 kB / 1.365 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/1.461, allocations: 174.2 kB / 1.365 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.461, allocations: 0 / 1.365 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005676/1.461, allocations: 364.3 kB / 1.365 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.365e-05/1.462, allocations: 97.48 kB / 1.365 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.462, allocations: 0 / 1.365 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/1.462, allocations: 3.844 kB / 1.365 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.996e-05/1.462, allocations: 11.23 kB / 1.365 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/1.462, allocations: 0 / 1.365 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004969/1.462, allocations: 110.5 kB / 1.365 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.831e-05/1.462, allocations: 20.86 kB / 1.365 GB, free: 32.41 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,or1.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 0.0001032/1.462, allocations: 122.3 kB / 1.366 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/1.462, allocations: 7.75 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.97e-05/1.462, allocations: 15.16 kB / 1.366 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/1.462, allocations: 3.781 kB / 1.366 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.462, allocations: 3.953 kB / 1.366 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/1.462, allocations: 0 / 1.366 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/1.463, allocations: 187.2 kB / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.463, allocations: 0 / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.271e-05/1.463, allocations: 7.781 kB / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/1.463, allocations: 0 / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/1.463, allocations: 6.422 kB / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/1.463, allocations: 4.156 kB / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.463, allocations: 0 / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/1.463, allocations: 142.1 kB / 1.366 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/1.463, allocations: 84.64 kB / 1.366 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/1.463, allocations: 1.312 kB / 1.366 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.379e-05/1.463, allocations: 0 / 1.366 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/1.463, allocations: 15.56 kB / 1.366 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/1.463, allocations: 9.422 kB / 1.366 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.872e-05/1.463, allocations: 101.9 kB / 1.366 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.463, allocations: 4 kB / 1.366 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002778/1.463, allocations: 54.52 kB / 1.366 GB, free: 31.81 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,or1.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.0004772/1.464, allocations: 0.678 MB / 1.367 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003834/1.464, allocations: 352.9 kB / 1.367 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.464, allocations: 4.125 kB / 1.367 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.409e-05/1.464, allocations: 42.5 kB / 1.367 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/1.464, allocations: 16.59 kB / 1.367 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005135/1.465, allocations: 176.7 kB / 1.367 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/1.465, allocations: 0.7064 MB / 1.368 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.245e-05/1.465, allocations: 9.281 kB / 1.368 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.736e-05/1.465, allocations: 24.97 kB / 1.368 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/1.465, allocations: 0 / 1.368 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/1.485, allocations: 3.422 MB / 1.371 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002428/1.486, allocations: 156 kB / 1.372 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/3.175, allocations: 0 / 1.372 GB, free: 29.61 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat does not exist to compare? outputFormat=mat