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.352/2.352, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001372/0.001372, allocations: 173.1 kB / 498.1 MB, free: 5.773 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.655/1.655, allocations: 223.2 MB / 0.7948 GB, free: 17.97 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.0009032/0.0009033, allocations: 102 kB / 0.9346 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004103/0.0004103, allocations: 11.39 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3566, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2059/0.5626, allocations: 149.6 MB / 1.369 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/0.563, allocations: 71.89 kB / 1.369 GB, free: 12.35 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0213/0.5843, allocations: 6.813 MB / 1.376 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.358e-06/0.5843, allocations: 0 / 1.376 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.97e-05/0.5844, allocations: 7.938 kB / 1.376 GB, free: 5.52 MB / 0.8698 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.001012/0.5854, allocations: 0.5737 MB / 1.376 GB, free: 4.867 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.5854, allocations: 19.97 kB / 1.376 GB, free: 4.848 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.054e-05/0.5855, allocations: 46.55 kB / 1.376 GB, free: 4.793 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.5857, allocations: 39.66 kB / 1.376 GB, free: 4.754 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.5862, allocations: 259.7 kB / 1.377 GB, free: 4.461 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.5862, allocations: 16 kB / 1.377 GB, free: 4.445 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.469e-05/0.5864, allocations: 35.98 kB / 1.377 GB, free: 4.41 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.5867, allocations: 151.2 kB / 1.377 GB, free: 4.25 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.5867, allocations: 0 / 1.377 GB, free: 4.25 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.5867, allocations: 12 kB / 1.377 GB, free: 4.238 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.5867, allocations: 0 / 1.377 GB, free: 4.238 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.5869, allocations: 82.05 kB / 1.377 GB, free: 4.16 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000993/0.5879, allocations: 0.7072 MB / 1.378 GB, free: 3.398 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.5881, allocations: 171.6 kB / 1.378 GB, free: 3.203 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.5881, allocations: 0 / 1.378 GB, free: 3.203 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002521/0.5884, allocations: 161 kB / 1.378 GB, free: 3.035 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 1.693e-06/0.5884, allocations: 4 kB / 1.378 GB, free: 3.031 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20): time 0.000492/0.5889, allocations: 239.3 kB / 1.378 GB, free: 2.793 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.589, allocations: 59.36 kB / 1.378 GB, free: 2.723 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.5891, allocations: 169.4 kB / 1.378 GB, free: 2.547 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.306e-05/0.5892, allocations: 37.7 kB / 1.378 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.5893, allocations: 128.4 kB / 1.379 GB, free: 2.375 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.5894, allocations: 43.5 kB / 1.379 GB, free: 2.332 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.5894, allocations: 12 kB / 1.379 GB, free: 2.32 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.5895, allocations: 330.8 kB / 1.379 GB, free: 1.988 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.5898, allocations: 151.9 kB / 1.379 GB, free: 1.84 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003484/0.5902, allocations: 238.1 kB / 1.379 GB, free: 1.57 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.5906, allocations: 285.8 kB / 1.38 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.5906, allocations: 0 / 1.38 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009861/0.5916, allocations: 0.6149 MB / 1.38 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.5917, allocations: 164.5 kB / 1.38 GB, free: 428 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.5917, allocations: 11.88 kB / 1.38 GB, free: 416 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.5918, allocations: 4 kB / 1.38 GB, free: 412 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.427e-05/0.5918, allocations: 4 kB / 1.38 GB, free: 408 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.5918, allocations: 11.92 kB / 1.38 GB, free: 396 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008199/0.5926, allocations: 196 kB / 1.381 GB, free: 200 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.867e-05/0.5927, allocations: 31.98 kB / 1.381 GB, free: 168 kB / 0.8698 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 () * Number of clocked 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.0001963/0.5929, allocations: 153.8 kB / 1.381 GB, free: 4 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.593, allocations: 19.86 kB / 1.381 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.23e-05/0.5931, allocations: 21.88 kB / 1.381 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.5931, allocations: 0 / 1.381 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.5931, allocations: 0 / 1.381 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5931, allocations: 0 / 1.381 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006189/0.5937, allocations: 0.5061 MB / 1.381 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.5937, allocations: 0 / 1.381 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.114e-05/0.5938, allocations: 7.938 kB / 1.381 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.5938, allocations: 0 / 1.381 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.5938, allocations: 12.05 kB / 1.381 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5938, allocations: 0 / 1.381 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5938, allocations: 4 kB / 1.381 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.5941, allocations: 281.1 kB / 1.382 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.5942, allocations: 92.91 kB / 1.382 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.5942, allocations: 4 kB / 1.382 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.442e-05/0.5943, allocations: 4.094 kB / 1.382 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/0.5944, allocations: 27.84 kB / 1.382 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.5944, allocations: 8 kB / 1.382 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.676e-05/0.5945, allocations: 124.2 kB / 1.382 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5945, allocations: 0 / 1.382 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004086/0.5949, allocations: 87.88 kB / 1.382 GB, free: 14.73 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: 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 () * Number of clocked 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.0007675/0.5957, allocations: 0.8303 MB / 1.383 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007983/0.5965, allocations: 0.6189 MB / 1.383 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5965, allocations: 0 / 1.383 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.5966, allocations: 75.86 kB / 1.383 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.597, allocations: 40.66 kB / 1.383 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.5988, allocations: 2.299 MB / 1.386 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.5992, allocations: 0.7362 MB / 1.386 GB, free: 9.922 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.924e-05/0.5993, allocations: 25.53 kB / 1.386 GB, free: 9.895 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.581e-05/0.5994, allocations: 55.42 kB / 1.386 GB, free: 9.84 MB / 0.8855 GB Notification: Performance of SimCode: time 1.022e-06/0.5994, allocations: 0 / 1.386 GB, free: 9.84 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02048/0.6199, allocations: 5.779 MB / 1.392 GB, free: 4.238 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/0.6202, allocations: 189.3 kB / 1.392 GB, free: 3.992 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.44, allocations: 0 / 1.392 GB, free: 3.992 MB / 0.8855 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