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.536/2.536, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.0013/0.0013, allocations: 174.3 kB / 0.4901 GB, free: 2.254 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.503/1.503, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.0009486/0.0009483, allocations: 103 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004284, allocations: 10.34 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2939, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1964/0.4904, allocations: 150.4 MB / 1.376 GB, free: 3.09 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.4907, allocations: 75.95 kB / 1.376 GB, free: 3.016 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01992/0.5106, allocations: 6.823 MB / 1.383 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5107, allocations: 0 / 1.383 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.47e-05/0.5107, allocations: 4 kB / 1.383 GB, free: 12.17 MB / 0.8855 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.0006855/0.5114, allocations: 0.5812 MB / 1.383 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.5114, allocations: 8.562 kB / 1.383 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.587e-05/0.5115, allocations: 46.55 kB / 1.384 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.702e-05/0.5116, allocations: 31.77 kB / 1.384 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.512, allocations: 258.9 kB / 1.384 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.512, allocations: 31.88 kB / 1.384 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.337e-05/0.5121, allocations: 28 kB / 1.384 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.5124, allocations: 147.2 kB / 1.384 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.5124, allocations: 0 / 1.384 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.5124, allocations: 11.98 kB / 1.384 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.5124, allocations: 4 kB / 1.384 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.5126, allocations: 79.89 kB / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008869/0.5135, allocations: 0.6955 MB / 1.385 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.5137, allocations: 171.6 kB / 1.385 GB, free: 9.871 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.5137, allocations: 4 kB / 1.385 GB, free: 9.867 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/0.514, allocations: 164.2 kB / 1.385 GB, free: 9.695 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=20): time 1.733e-06/0.514, allocations: 0 / 1.385 GB, free: 9.695 MB / 0.8855 GB Notification: Performance of matching and sorting (n=20): time 0.0004541/0.5144, allocations: 239.4 kB / 1.385 GB, free: 9.457 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.5145, allocations: 59.36 kB / 1.385 GB, free: 9.387 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.5146, allocations: 170.9 kB / 1.386 GB, free: 9.215 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.095e-05/0.5147, allocations: 41.69 kB / 1.386 GB, free: 9.168 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.5148, allocations: 132.4 kB / 1.386 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.5149, allocations: 35.55 kB / 1.386 GB, free: 9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.5149, allocations: 12 kB / 1.386 GB, free: 8.988 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.515, allocations: 330.8 kB / 1.386 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/0.5153, allocations: 155.9 kB / 1.386 GB, free: 8.504 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003457/0.5157, allocations: 246.6 kB / 1.386 GB, free: 8.227 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.5161, allocations: 289.9 kB / 1.387 GB, free: 7.914 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.5161, allocations: 0 / 1.387 GB, free: 7.914 MB / 0.8855 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00096/0.517, allocations: 0.6148 MB / 1.387 GB, free: 7.262 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.5172, allocations: 160.8 kB / 1.388 GB, free: 7.074 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.5172, allocations: 8.062 kB / 1.388 GB, free: 7.066 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.5172, allocations: 8 kB / 1.388 GB, free: 7.059 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.452e-05/0.5172, allocations: 15.94 kB / 1.388 GB, free: 7.043 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.5173, allocations: 4 kB / 1.388 GB, free: 7.039 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000804/0.5181, allocations: 187.7 kB / 1.388 GB, free: 6.855 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.899e-05/0.5182, allocations: 31.98 kB / 1.388 GB, free: 6.824 MB / 0.8855 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.0001843/0.5183, allocations: 158.3 kB / 1.388 GB, free: 6.66 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.5184, allocations: 23.73 kB / 1.388 GB, free: 6.637 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.395e-05/0.5184, allocations: 17.97 kB / 1.388 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.5184, allocations: 3.938 kB / 1.388 GB, free: 6.621 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.5184, allocations: 4 kB / 1.388 GB, free: 6.617 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.5185, allocations: 0 / 1.388 GB, free: 6.617 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005539/0.519, allocations: 0.5099 MB / 1.388 GB, free: 6.051 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.519, allocations: 0 / 1.388 GB, free: 6.051 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.717e-05/0.5191, allocations: 4 kB / 1.388 GB, free: 6.047 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5191, allocations: 0 / 1.388 GB, free: 6.047 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.5191, allocations: 8 kB / 1.388 GB, free: 6.039 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.5191, allocations: 3.984 kB / 1.388 GB, free: 6.035 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.5191, allocations: 0 / 1.388 GB, free: 6.035 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.5194, allocations: 284.7 kB / 1.389 GB, free: 5.742 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.5194, allocations: 92.92 kB / 1.389 GB, free: 5.633 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.5195, allocations: 3.984 kB / 1.389 GB, free: 5.629 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.585e-05/0.5195, allocations: 8 kB / 1.389 GB, free: 5.621 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.575e-05/0.5196, allocations: 19.97 kB / 1.389 GB, free: 5.602 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.5196, allocations: 8 kB / 1.389 GB, free: 5.594 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.491e-05/0.5197, allocations: 115.2 kB / 1.389 GB, free: 5.48 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5197, allocations: 0 / 1.389 GB, free: 5.48 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003811/0.5201, allocations: 91.94 kB / 1.389 GB, free: 5.391 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.0007008/0.5208, allocations: 0.8313 MB / 1.39 GB, free: 4.531 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007422/0.5216, allocations: 0.6113 MB / 1.39 GB, free: 3.859 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5216, allocations: 0.6875 kB / 1.39 GB, free: 3.859 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.5217, allocations: 87.84 kB / 1.391 GB, free: 3.773 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.5221, allocations: 37.69 kB / 1.391 GB, free: 3.738 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.5237, allocations: 2.302 MB / 1.393 GB, free: 1.336 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.5241, allocations: 0.7322 MB / 1.394 GB, free: 0.5781 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.916e-05/0.5242, allocations: 29.53 kB / 1.394 GB, free: 0.5469 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.826e-05/0.5243, allocations: 51.42 kB / 1.394 GB, free: 0.5 MB / 0.8855 GB Notification: Performance of SimCode: time 5.71e-07/0.5243, allocations: 0 / 1.394 GB, free: 0.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.5432, allocations: 5.791 MB / 1.399 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/0.5434, allocations: 183.9 kB / 1.399 GB, free: 10.65 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/2.309, allocations: 0 / 1.399 GB, free: 10.65 MB / 0.9011 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