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.392/2.392, allocations: 390.3 MB / 402.8 MB, free: 6.641 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.00134/0.00134, allocations: 184.7 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.65/1.65, allocations: 221.3 MB / 0.7915 GB, free: 5.449 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.0009748/0.0009748, allocations: 87.97 kB / 0.9317 GB, free: 5.766 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.092e-05/4.113e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2883, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.043/1.331, allocations: 150.4 MB / 1.366 GB, free: 3.633 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/1.332, allocations: 67.14 kB / 1.366 GB, free: 3.598 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02197/1.354, allocations: 6.803 MB / 1.372 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.823e-06/1.354, allocations: 8 kB / 1.372 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.345e-05/1.354, allocations: 3.938 kB / 1.372 GB, free: 13.67 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.0006726/1.354, allocations: 0.5651 MB / 1.373 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/1.354, allocations: 8.031 kB / 1.373 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.721e-05/1.355, allocations: 45.61 kB / 1.373 GB, free: 13 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/1.355, allocations: 35.67 kB / 1.373 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/1.355, allocations: 254 kB / 1.373 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/1.355, allocations: 15.31 kB / 1.373 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.87e-05/1.355, allocations: 32.36 kB / 1.373 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/1.355, allocations: 159.4 kB / 1.373 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.768e-05/1.356, allocations: 0 / 1.373 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/1.356, allocations: 7.312 kB / 1.374 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/1.356, allocations: 4 kB / 1.374 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/1.356, allocations: 82.61 kB / 1.374 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009327/1.357, allocations: 0.7085 MB / 1.374 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/1.357, allocations: 163.9 kB / 1.374 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.807e-05/1.357, allocations: 47.91 kB / 1.374 GB, free: 11.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/1.357, allocations: 0 / 1.374 GB, free: 11.6 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002461/1.357, allocations: 152.2 kB / 1.375 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 1.733e-06/1.357, allocations: 0 / 1.375 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.0004056/1.358, allocations: 188 kB / 1.375 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/1.358, allocations: 59.34 kB / 1.375 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/1.358, allocations: 168.7 kB / 1.375 GB, free: 11.08 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.981e-05/1.358, allocations: 40.7 kB / 1.375 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/1.358, allocations: 129.4 kB / 1.375 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/1.358, allocations: 37.66 kB / 1.375 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/1.358, allocations: 14.31 kB / 1.375 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.358, allocations: 329.7 kB / 1.376 GB, free: 10.56 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003143/1.359, allocations: 150 kB / 1.376 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/1.359, allocations: 239.1 kB / 1.376 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/1.359, allocations: 290.4 kB / 1.376 GB, free: 9.977 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/1.359, allocations: 0 / 1.376 GB, free: 9.977 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001076/1.361, allocations: 0.61 MB / 1.377 GB, free: 9.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001361/1.361, allocations: 163.5 kB / 1.377 GB, free: 9.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/1.361, allocations: 4 kB / 1.377 GB, free: 9.246 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/1.361, allocations: 4 kB / 1.377 GB, free: 9.242 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.023e-05/1.361, allocations: 7.984 kB / 1.377 GB, free: 9.234 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/1.361, allocations: 7.938 kB / 1.377 GB, free: 9.227 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008598/1.362, allocations: 186.9 kB / 1.377 GB, free: 9.047 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/1.362, allocations: 31.53 kB / 1.377 GB, free: 9.02 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.0001869/1.362, allocations: 139.2 kB / 1.377 GB, free: 8.887 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/1.362, allocations: 15.81 kB / 1.377 GB, free: 8.871 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.131e-05/1.362, allocations: 22.58 kB / 1.377 GB, free: 8.859 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/1.362, allocations: 0 / 1.377 GB, free: 8.859 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.362, allocations: 0 / 1.377 GB, free: 8.859 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-06/1.362, allocations: 4 kB / 1.377 GB, free: 8.855 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007452/1.363, allocations: 0.5013 MB / 1.378 GB, free: 8.363 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/1.363, allocations: 3.938 kB / 1.378 GB, free: 8.359 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.117e-05/1.363, allocations: 11.92 kB / 1.378 GB, free: 8.348 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/1.363, allocations: 0 / 1.378 GB, free: 8.348 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/1.363, allocations: 3.625 kB / 1.378 GB, free: 8.348 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/1.363, allocations: 4 kB / 1.378 GB, free: 8.344 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.363, allocations: 0 / 1.378 GB, free: 8.344 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004321/1.363, allocations: 280.4 kB / 1.378 GB, free: 8.086 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/1.364, allocations: 88.92 kB / 1.378 GB, free: 7.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/1.364, allocations: 11.44 kB / 1.378 GB, free: 7.973 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.852e-05/1.364, allocations: 7.922 kB / 1.378 GB, free: 7.965 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.092e-05/1.364, allocations: 18.23 kB / 1.378 GB, free: 7.953 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/1.364, allocations: 11.98 kB / 1.378 GB, free: 7.941 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001061/1.364, allocations: 120.8 kB / 1.378 GB, free: 7.836 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.364, allocations: 0 / 1.378 GB, free: 7.836 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000446/1.364, allocations: 83.12 kB / 1.378 GB, free: 7.762 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.0008635/1.365, allocations: 0.8347 MB / 1.379 GB, free: 6.938 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001086/1.366, allocations: 0.5959 MB / 1.38 GB, free: 6.398 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.366, allocations: 8.125 kB / 1.38 GB, free: 6.391 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/1.367, allocations: 78.94 kB / 1.38 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004795/1.367, allocations: 46.59 kB / 1.38 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/1.368, allocations: 286.1 kB / 1.38 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/1.369, allocations: 0.7399 MB / 1.381 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000136/1.369, allocations: 29.52 kB / 1.381 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/1.369, allocations: 49.86 kB / 1.381 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of SimCode: time 1.513e-06/1.369, allocations: 0 / 1.381 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03163/1.401, allocations: 5.846 MB / 1.387 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003219/1.401, allocations: 162.2 kB / 1.387 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/3.158, allocations: 0 / 1.387 GB, free: 15.32 MB / 0.8542 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