Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.MultiOr,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.471/2.471, allocations: 387.1 MB / 399.7 MB, free: 9.438 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.001031/0.00103, allocations: 173 kB / 492.3 MB, free: 0.6328 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.604/1.604, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.001103/0.001103, allocations: 100.8 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.021e-05/5.053e-05, allocations: 8 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3136, allocations: 142.3 MB / 1.212 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.079/1.392, allocations: 149.6 MB / 1.359 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/1.393, allocations: 75.42 kB / 1.359 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0186/1.411, allocations: 6.8 MB / 1.365 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.833e-06/1.411, allocations: 4 kB / 1.365 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.364e-05/1.411, allocations: 3.875 kB / 1.365 GB, free: 34.43 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.0004961/1.412, allocations: 0.5675 MB / 1.366 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/1.412, allocations: 7.719 kB / 1.366 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/1.412, allocations: 46.16 kB / 1.366 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.944e-05/1.412, allocations: 27.06 kB / 1.366 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/1.412, allocations: 261.1 kB / 1.366 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/1.412, allocations: 21.2 kB / 1.366 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.284e-05/1.412, allocations: 30.88 kB / 1.366 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/1.413, allocations: 150.1 kB / 1.366 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/1.413, allocations: 0 / 1.366 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/1.413, allocations: 11.47 kB / 1.366 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/1.413, allocations: 0 / 1.366 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/1.413, allocations: 86.31 kB / 1.366 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007133/1.414, allocations: 0.696 MB / 1.367 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/1.414, allocations: 165.3 kB / 1.367 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.483e-05/1.414, allocations: 45.2 kB / 1.367 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/1.414, allocations: 4 kB / 1.367 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/1.414, allocations: 155.9 kB / 1.367 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 1.342e-06/1.414, allocations: 0 / 1.367 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.000307/1.414, allocations: 187.1 kB / 1.368 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/1.414, allocations: 62.75 kB / 1.368 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/1.415, allocations: 167.2 kB / 1.368 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/1.415, allocations: 48.02 kB / 1.368 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.635e-05/1.415, allocations: 125.2 kB / 1.368 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/1.415, allocations: 40.16 kB / 1.368 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/1.415, allocations: 15.34 kB / 1.368 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 5.758e-05/1.415, allocations: 337.2 kB / 1.368 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/1.415, allocations: 150.3 kB / 1.369 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/1.415, allocations: 229.7 kB / 1.369 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/1.416, allocations: 287.4 kB / 1.369 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.416, allocations: 0 / 1.369 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007668/1.416, allocations: 0.6037 MB / 1.37 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.142e-05/1.417, allocations: 162.1 kB / 1.37 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/1.417, allocations: 3.969 kB / 1.37 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/1.417, allocations: 3.906 kB / 1.37 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.183e-05/1.417, allocations: 7 kB / 1.37 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/1.417, allocations: 7.781 kB / 1.37 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007099/1.417, allocations: 187.5 kB / 1.37 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.305e-05/1.417, allocations: 40.8 kB / 1.37 GB, free: 31.66 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.0001132/1.418, allocations: 142 kB / 1.37 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/1.418, allocations: 15.53 kB / 1.37 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.411e-05/1.418, allocations: 19.27 kB / 1.37 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/1.418, allocations: 3.75 kB / 1.37 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.418, allocations: 0 / 1.37 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.418, allocations: 0 / 1.37 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/1.418, allocations: 0.5069 MB / 1.371 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/1.418, allocations: 0 / 1.371 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.031e-05/1.418, allocations: 10.42 kB / 1.371 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.418, allocations: 96 / 1.371 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/1.418, allocations: 7.812 kB / 1.371 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.418, allocations: 0 / 1.371 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/1.418, allocations: 0 / 1.371 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/1.418, allocations: 286.9 kB / 1.371 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.201e-05/1.418, allocations: 96.55 kB / 1.371 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/1.418, allocations: 6.484 kB / 1.371 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.986e-05/1.419, allocations: 0 / 1.371 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/1.419, allocations: 24.48 kB / 1.371 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/1.419, allocations: 7.297 kB / 1.371 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.996e-05/1.419, allocations: 119.4 kB / 1.371 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.419, allocations: 0 / 1.371 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003329/1.419, allocations: 79.28 kB / 1.371 GB, free: 30.88 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.0005579/1.42, allocations: 0.8295 MB / 1.372 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005932/1.42, allocations: 0.6047 MB / 1.373 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.42, allocations: 4.188 kB / 1.373 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.54e-05/1.42, allocations: 76.39 kB / 1.373 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/1.421, allocations: 39.55 kB / 1.373 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006073/1.421, allocations: 296 kB / 1.373 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/1.422, allocations: 0.7308 MB / 1.374 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.198e-05/1.422, allocations: 23.48 kB / 1.374 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.259e-05/1.422, allocations: 54.84 kB / 1.374 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of SimCode: time 3.11e-07/1.422, allocations: 0 / 1.374 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/1.438, allocations: 5.851 MB / 1.38 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001394/1.438, allocations: 159.2 kB / 1.38 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/3.128, allocations: 3.938 kB / 1.38 GB, free: 28.27 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat does not exist to compare? outputFormat=mat