Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001426/0.001427, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.362/2.362, allocations: 390.3 MB / 0.6653 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003645, allocations: 15.94 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7657/0.7661, allocations: 142.3 MB / 0.9536 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.0008785/0.767, allocations: 374.3 kB / 0.954 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.7685, allocations: 1.138 MB / 0.9551 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.7686, allocations: 1.594 kB / 0.9551 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.952e-05/0.7686, allocations: 3.938 kB / 0.9551 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.7687, allocations: 10.92 kB / 0.9551 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006706/0.7694, allocations: 188.2 kB / 0.9553 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.7696, allocations: 83.3 kB / 0.9554 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.7697, allocations: 12.23 kB / 0.9554 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.7698, allocations: 58.61 kB / 0.9554 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.7699, allocations: 45.05 kB / 0.9555 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.97e-05/0.7699, allocations: 9.062 kB / 0.9555 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.281e-05/0.77, allocations: 22.14 kB / 0.9555 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.7701, allocations: 2.969 kB / 0.9555 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.004e-05/0.7701, allocations: 45.11 kB / 0.9555 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.7703, allocations: 106.3 kB / 0.9556 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.7703, allocations: 0 / 0.9556 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.913e-06/0.7703, allocations: 4 kB / 0.9556 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.738e-06/0.7703, allocations: 0 / 0.9556 GB, free: 6.812 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003858/0.7707, allocations: 406.8 kB / 0.956 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.7707, allocations: 12.72 kB / 0.956 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.929e-05/0.7708, allocations: 35.64 kB / 0.9561 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.7708, allocations: 15.39 kB / 0.9561 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.469e-05/0.7709, allocations: 166 kB / 0.9563 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.7709, allocations: 8.531 kB / 0.9563 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.771, allocations: 8.625 kB / 0.9563 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.7711, allocations: 54.73 kB / 0.9563 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.7711, allocations: 0 / 0.9563 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.7711, allocations: 1.062 kB / 0.9563 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.7711, allocations: 1.062 kB / 0.9563 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.41e-05/0.7712, allocations: 15.7 kB / 0.9563 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/0.7716, allocations: 350.8 kB / 0.9567 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.893e-05/0.7717, allocations: 36.22 kB / 0.9567 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.7717, allocations: 9.062 kB / 0.9567 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001658/0.7719, allocations: 79.64 kB / 0.9568 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.7719, allocations: 0 / 0.9568 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002644/0.7722, allocations: 111 kB / 0.9569 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.7722, allocations: 53.53 kB / 0.9569 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.7723, allocations: 118.2 kB / 0.9571 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.7724, allocations: 33.36 kB / 0.9571 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.071e-05/0.7725, allocations: 93.64 kB / 0.9572 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.7725, allocations: 18.22 kB / 0.9572 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.086e-05/0.7725, allocations: 3.375 kB / 0.9572 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.645e-05/0.7726, allocations: 317.1 kB / 0.9575 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.7728, allocations: 54.38 kB / 0.9576 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.7729, allocations: 94.22 kB / 0.9576 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.7731, allocations: 119 kB / 0.9578 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.7731, allocations: 0 / 0.9578 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00048/0.7736, allocations: 257.7 kB / 0.958 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.071e-05/0.7737, allocations: 69.23 kB / 0.9581 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.7737, allocations: 2.281 kB / 0.9581 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.7737, allocations: 5.578 kB / 0.9581 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.133e-05/0.7738, allocations: 7.562 kB / 0.9581 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.7738, allocations: 1.562 kB / 0.9581 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004714/0.7743, allocations: 87.2 kB / 0.9582 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/0.7743, allocations: 15.39 kB / 0.9582 GB, free: 4.391 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001254/0.7744, allocations: 122.1 kB / 0.9583 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.7745, allocations: 8.031 kB / 0.9583 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.459e-05/0.7745, allocations: 8.375 kB / 0.9583 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.7745, allocations: 6.016 kB / 0.9583 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.7745, allocations: 0 / 0.9583 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.7745, allocations: 4 kB / 0.9583 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.7747, allocations: 174 kB / 0.9585 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.7747, allocations: 3.984 kB / 0.9585 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.263e-05/0.7747, allocations: 5.719 kB / 0.9585 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.7747, allocations: 0 / 0.9585 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.7748, allocations: 5.406 kB / 0.9585 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.7748, allocations: 1.594 kB / 0.9585 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.7748, allocations: 3.953 kB / 0.9585 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.7749, allocations: 110.9 kB / 0.9586 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.775, allocations: 87.42 kB / 0.9587 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.775, allocations: 7.984 kB / 0.9587 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.848e-05/0.775, allocations: 1.188 kB / 0.9587 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.7751, allocations: 3.031 kB / 0.9587 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.7751, allocations: 10.72 kB / 0.9587 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.967e-05/0.7752, allocations: 86.97 kB / 0.9588 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7752, allocations: 0 / 0.9588 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002646/0.7755, allocations: 34.67 kB / 0.9588 GB, free: 3.73 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004406/0.7759, allocations: 0.6399 MB / 0.9595 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003619/0.7763, allocations: 247 kB / 0.9597 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7763, allocations: 0 / 0.9597 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.566e-05/0.7764, allocations: 36.41 kB / 0.9597 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.7766, allocations: 15.06 kB / 0.9597 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007821/0.7774, allocations: 0.9926 MB / 0.9607 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.7776, allocations: 0.6969 MB / 0.9614 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.194e-05/0.7777, allocations: 11.89 kB / 0.9614 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.7777, allocations: 19.5 kB / 0.9614 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of SimCode: time 6.82e-07/0.7777, allocations: 0 / 0.9614 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.7913, allocations: 2.541 MB / 0.9639 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/0.7916, allocations: 176.8 kB / 0.9641 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/2.498, allocations: 0 / 0.9641 GB, free: 15.68 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat does not exist to compare? outputFormat=mat