Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.Integers.Validation.Equal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",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.001195/0.001195, allocations: 100.3 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.001405/0.001405, 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.467/1.467, allocations: 223.2 MB / 239.9 MB, free: 5.465 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.483/2.483, allocations: 390.3 MB / 0.6653 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003595, allocations: 12 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.775/0.7754, allocations: 142.3 MB / 0.9536 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.001964/0.7774, allocations: 1.638 MB / 0.9552 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.7789, allocations: 1.101 MB / 0.9563 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.779, allocations: 2.312 kB / 0.9563 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003741/0.7794, allocations: 141.3 kB / 0.9564 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002434/0.7796, allocations: 130.7 kB / 0.9565 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.78, allocations: 183.8 kB / 0.9567 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.7803, allocations: 185.8 kB / 0.9569 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.7804, allocations: 50.62 kB / 0.9569 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.7806, allocations: 132.6 kB / 0.9571 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.7808, allocations: 111.7 kB / 0.9572 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.7808, allocations: 5.438 kB / 0.9572 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.7809, allocations: 38.39 kB / 0.9572 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.375e-05/0.781, allocations: 76.75 kB / 0.9573 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.293e-05/0.7811, allocations: 71.27 kB / 0.9574 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.7813, allocations: 282.5 kB / 0.9576 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.7813, allocations: 0 / 0.9576 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7814, allocations: 4 kB / 0.9576 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.7814, allocations: 0 / 0.9576 GB, free: 5.059 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007342/0.7821, allocations: 0.5793 MB / 0.9582 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.7821, allocations: 8.906 kB / 0.9582 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.806e-05/0.7822, allocations: 41.33 kB / 0.9582 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.769e-05/0.7823, allocations: 35.5 kB / 0.9583 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004227/0.7827, allocations: 350.2 kB / 0.9586 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.7827, allocations: 12.25 kB / 0.9586 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.7827, allocations: 4.656 kB / 0.9586 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.7829, allocations: 113.5 kB / 0.9587 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.783, allocations: 0 / 0.9587 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.783, allocations: 5.609 kB / 0.9587 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.783, allocations: 1.531 kB / 0.9587 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.7832, allocations: 62.08 kB / 0.9588 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006325/0.7838, allocations: 0.4889 MB / 0.9593 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.7841, allocations: 132.3 kB / 0.9594 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.7841, allocations: 5.375 kB / 0.9594 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.7843, allocations: 118.9 kB / 0.9595 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.7843, allocations: 1.375 kB / 0.9595 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004422/0.7848, allocations: 213.9 kB / 0.9597 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.7848, allocations: 52.78 kB / 0.9598 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004984/0.7853, allocations: 0.5084 MB / 0.9603 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.7853, allocations: 35.45 kB / 0.9603 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.029e-05/0.7854, allocations: 165 kB / 0.9605 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.7855, allocations: 38.55 kB / 0.9605 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.316e-05/0.7855, allocations: 4.969 kB / 0.9605 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.516e-05/0.7856, allocations: 345.8 kB / 0.9608 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.7857, allocations: 98.75 kB / 0.9609 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.7859, allocations: 133.7 kB / 0.9611 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.7861, allocations: 103 kB / 0.9612 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7861, allocations: 3.953 kB / 0.9612 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004719/0.7866, allocations: 322.1 kB / 0.9615 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.7866, allocations: 4.531 kB / 0.9615 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.7866, allocations: 0.9062 kB / 0.9615 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.7867, allocations: 5.906 kB / 0.9615 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.7869, allocations: 50.78 kB / 0.9615 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.7869, allocations: 6.094 kB / 0.9615 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.787, allocations: 25.94 kB / 0.9616 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.903e-05/0.7871, allocations: 13 kB / 0.9616 GB, free: 2 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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.0001475/0.7872, allocations: 182.8 kB / 0.9617 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.7873, allocations: 34.14 kB / 0.9618 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.264e-05/0.7873, allocations: 33.34 kB / 0.9618 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.7873, allocations: 2 kB / 0.9618 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.7874, allocations: 3.984 kB / 0.9618 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.7874, allocations: 5.312 kB / 0.9618 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.7876, allocations: 291.9 kB / 0.9621 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7876, allocations: 3.938 kB / 0.9621 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.595e-05/0.7876, allocations: 21.72 kB / 0.9621 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.7877, allocations: 0.9688 kB / 0.9621 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.7877, allocations: 6.016 kB / 0.9621 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.7877, allocations: 0.9688 kB / 0.9621 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7877, allocations: 3.984 kB / 0.9621 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.788, allocations: 211.6 kB / 0.9623 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.884e-05/0.7881, allocations: 115.3 kB / 0.9624 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.7881, allocations: 6.172 kB / 0.9625 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.23e-05/0.7882, allocations: 12.36 kB / 0.9625 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/0.7883, allocations: 18.62 kB / 0.9625 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.7883, allocations: 5.5 kB / 0.9625 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000295/0.7886, allocations: 312.3 kB / 0.9628 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7886, allocations: 0 / 0.9628 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002885/0.7889, allocations: 64.69 kB / 0.9628 GB, free: 1.012 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: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001362/0.7903, allocations: 1.067 MB / 0.9639 GB, free: 228 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003457/0.7906, allocations: 192.9 kB / 0.9641 GB, free: 148 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7907, allocations: 4.938 kB / 0.9641 GB, free: 144 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.7908, allocations: 58.62 kB / 0.9641 GB, free: 120 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.7912, allocations: 86.86 kB / 0.9642 GB, free: 76 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.7925, allocations: 1.161 MB / 0.9653 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.7929, allocations: 0.7976 MB / 0.9661 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001439/0.7931, allocations: 52.11 kB / 0.9662 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.7933, allocations: 106 kB / 0.9663 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.7933, allocations: 1 kB / 0.9663 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.8123, allocations: 6.791 MB / 0.9729 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/0.8125, allocations: 226.2 kB / 0.9731 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/2.651, allocations: 0 / 0.9731 GB, free: 10.81 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat does not exist to compare? outputFormat=mat