Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.MultiOr,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",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.419/2.419, allocations: 390.5 MB / 398 MB, free: 10.92 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.0009949/0.0009949, allocations: 188.8 kB / 491.2 MB, free: 1.547 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.581/1.581, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001057/0.001057, allocations: 94.67 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.295e-05/2.297e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3139, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.127/1.441, allocations: 149.7 MB / 1.359 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/1.442, allocations: 67.39 kB / 1.359 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0191/1.461, allocations: 6.785 MB / 1.365 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.813e-06/1.461, allocations: 0 / 1.365 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.449e-05/1.461, allocations: 7.812 kB / 1.365 GB, free: 32.55 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005525/1.461, allocations: 0.5691 MB / 1.366 GB, free: 32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/1.461, allocations: 7.688 kB / 1.366 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.14e-05/1.461, allocations: 34.08 kB / 1.366 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/1.462, allocations: 263.5 kB / 1.366 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/1.462, allocations: 3.844 kB / 1.366 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.067e-05/1.462, allocations: 25.67 kB / 1.366 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000146/1.462, allocations: 72.59 kB / 1.366 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/1.462, allocations: 135 kB / 1.366 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/1.462, allocations: 7.938 kB / 1.366 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/1.462, allocations: 0 / 1.366 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/1.462, allocations: 3.969 kB / 1.366 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007694/1.463, allocations: 0.6615 MB / 1.367 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/1.463, allocations: 170.4 kB / 1.367 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.312e-05/1.463, allocations: 33.7 kB / 1.367 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/1.463, allocations: 3.906 kB / 1.367 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/1.463, allocations: 150.8 kB / 1.367 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 1.393e-06/1.463, allocations: 0 / 1.367 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.0003012/1.464, allocations: 171.3 kB / 1.368 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/1.464, allocations: 64.3 kB / 1.368 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/1.464, allocations: 160.8 kB / 1.368 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/1.464, allocations: 36.44 kB / 1.368 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.043e-05/1.464, allocations: 124.6 kB / 1.368 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/1.464, allocations: 36.73 kB / 1.368 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/1.464, allocations: 14.75 kB / 1.368 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001115/1.464, allocations: 326.7 kB / 1.368 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/1.465, allocations: 135.5 kB / 1.368 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/1.465, allocations: 223.5 kB / 1.369 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005965/1.465, allocations: 176.1 kB / 1.369 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.465, allocations: 0 / 1.369 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009824/1.466, allocations: 485.9 kB / 1.369 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/1.466, allocations: 165 kB / 1.369 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/1.466, allocations: 3.875 kB / 1.369 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/1.467, allocations: 3.75 kB / 1.369 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.612e-05/1.467, allocations: 10.52 kB / 1.369 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/1.467, allocations: 7.781 kB / 1.369 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007074/1.467, allocations: 174.6 kB / 1.37 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.656e-05/1.467, allocations: 38.06 kB / 1.37 GB, free: 30.18 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.y,mulOr0.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001268/1.467, allocations: 135.3 kB / 1.37 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001858/1.468, allocations: 165.1 kB / 1.37 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/1.468, allocations: 15.62 kB / 1.37 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.293e-05/1.468, allocations: 22.73 kB / 1.37 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.468, allocations: 3.844 kB / 1.37 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.468, allocations: 0 / 1.37 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/1.468, allocations: 4 kB / 1.37 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003878/1.468, allocations: 466.8 kB / 1.37 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/1.468, allocations: 3.938 kB / 1.37 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.945e-05/1.468, allocations: 7.969 kB / 1.37 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/1.468, allocations: 0 / 1.37 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/1.468, allocations: 10.16 kB / 1.37 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.468, allocations: 0 / 1.37 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.468, allocations: 0 / 1.37 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/1.468, allocations: 267.5 kB / 1.371 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.211e-05/1.469, allocations: 95.58 kB / 1.371 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/1.469, allocations: 3.188 kB / 1.371 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.158e-05/1.469, allocations: 0 / 1.371 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/1.469, allocations: 23.31 kB / 1.371 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/1.469, allocations: 10.3 kB / 1.371 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.033e-05/1.469, allocations: 110.9 kB / 1.371 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.469, allocations: 3.781 kB / 1.371 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003368/1.469, allocations: 72.91 kB / 1.371 GB, free: 29.37 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: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0004993/1.47, allocations: 0.8214 MB / 1.372 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005155/1.47, allocations: 0.5762 MB / 1.372 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.47, allocations: 192 / 1.372 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.961e-05/1.47, allocations: 74.11 kB / 1.372 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/1.471, allocations: 34.75 kB / 1.372 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000577/1.471, allocations: 276.8 kB / 1.373 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/1.471, allocations: 0.7366 MB / 1.373 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.151e-05/1.472, allocations: 30.53 kB / 1.373 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.71e-05/1.472, allocations: 53.73 kB / 1.374 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.472, allocations: 0 / 1.374 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/1.499, allocations: 5.247 MB / 1.379 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/1.499, allocations: 152.3 kB / 1.379 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/3.16, allocations: 0 / 1.379 GB, free: 26.93 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat does not exist to compare? outputFormat=mat