Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.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.Less,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Less",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.001076/0.001076, allocations: 99.62 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.001244/0.001244, 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.582/1.582, allocations: 223.2 MB / 239.9 MB, free: 5.355 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.582/2.582, allocations: 390.3 MB / 0.6653 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003475, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8147/0.8151, allocations: 142.3 MB / 0.9536 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.002253/0.8174, allocations: 1.642 MB / 0.9552 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.8192, allocations: 1.1 MB / 0.9563 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.8193, allocations: 6.906 kB / 0.9563 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003789/0.8197, allocations: 133.1 kB / 0.9564 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.82, allocations: 130.7 kB / 0.9565 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004434/0.8204, allocations: 185.4 kB / 0.9567 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.8207, allocations: 188 kB / 0.9569 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.8208, allocations: 46.69 kB / 0.9569 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.821, allocations: 125.4 kB / 0.9571 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.8212, allocations: 115.1 kB / 0.9572 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.8212, allocations: 9.375 kB / 0.9572 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.8213, allocations: 42.67 kB / 0.9572 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.202e-05/0.8214, allocations: 77.06 kB / 0.9573 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.811e-05/0.8215, allocations: 70.7 kB / 0.9574 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002864/0.8218, allocations: 278.1 kB / 0.9576 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.8218, allocations: 0 / 0.9576 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.595e-06/0.8218, allocations: 1.031 kB / 0.9576 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.8218, allocations: 0 / 0.9576 GB, free: 5.047 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.0008458/0.8227, allocations: 0.5812 MB / 0.9582 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.8227, allocations: 9.625 kB / 0.9582 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.134e-05/0.8228, allocations: 41.77 kB / 0.9582 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.049e-05/0.8228, allocations: 34.22 kB / 0.9583 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004705/0.8233, allocations: 354.1 kB / 0.9586 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.8233, allocations: 8.656 kB / 0.9586 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.8234, allocations: 4.812 kB / 0.9586 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.8236, allocations: 111.2 kB / 0.9587 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.8236, allocations: 1.969 kB / 0.9587 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.8236, allocations: 7.953 kB / 0.9587 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.8236, allocations: 1.812 kB / 0.9587 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.8238, allocations: 59.53 kB / 0.9588 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007167/0.8245, allocations: 0.4955 MB / 0.9593 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.8248, allocations: 142.9 kB / 0.9594 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.8248, allocations: 2.75 kB / 0.9594 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/0.8251, allocations: 118.8 kB / 0.9595 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.522e-06/0.8251, allocations: 4 kB / 0.9595 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004553/0.8255, allocations: 215.4 kB / 0.9597 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.8256, allocations: 52.72 kB / 0.9598 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005334/0.8261, allocations: 0.5087 MB / 0.9603 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.8261, allocations: 26.67 kB / 0.9603 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.8262, allocations: 169.5 kB / 0.9605 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.8263, allocations: 38.05 kB / 0.9605 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.352e-05/0.8263, allocations: 5.156 kB / 0.9605 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.989e-05/0.8264, allocations: 349.3 kB / 0.9609 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.8266, allocations: 99.86 kB / 0.9609 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.8268, allocations: 133.2 kB / 0.9611 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.827, allocations: 99.05 kB / 0.9612 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.827, allocations: 3.953 kB / 0.9612 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00055/0.8276, allocations: 321.3 kB / 0.9615 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.8276, allocations: 5.906 kB / 0.9615 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.8276, allocations: 1 kB / 0.9615 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.8276, allocations: 2.219 kB / 0.9615 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.8279, allocations: 53.25 kB / 0.9615 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.8279, allocations: 2.5 kB / 0.9615 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.8281, allocations: 23.45 kB / 0.9616 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.8281, allocations: 12.16 kB / 0.9616 GB, free: 1.984 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,intLes.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.0001736/0.8283, allocations: 188.1 kB / 0.9618 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/0.8283, allocations: 34.86 kB / 0.9618 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.113e-05/0.8284, allocations: 38 kB / 0.9618 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.8284, allocations: 1.094 kB / 0.9618 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.8284, allocations: 0 / 0.9618 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.8284, allocations: 1.375 kB / 0.9618 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.8287, allocations: 296.8 kB / 0.9621 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.8287, allocations: 3.938 kB / 0.9621 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.465e-05/0.8288, allocations: 12.52 kB / 0.9621 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.8288, allocations: 9.141 kB / 0.9621 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.8288, allocations: 6.469 kB / 0.9621 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.8288, allocations: 0 / 0.9621 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.8288, allocations: 1.094 kB / 0.9621 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003432/0.8292, allocations: 211.5 kB / 0.9623 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.881e-05/0.8293, allocations: 110.4 kB / 0.9624 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/0.8293, allocations: 10.41 kB / 0.9625 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.8294, allocations: 14.34 kB / 0.9625 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.8295, allocations: 18.72 kB / 0.9625 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.8295, allocations: 5.281 kB / 0.9625 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003174/0.8298, allocations: 316.2 kB / 0.9628 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8298, allocations: 3.938 kB / 0.9628 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003145/0.8302, allocations: 60.81 kB / 0.9629 GB, free: 0.9922 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,intLes.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.001301/0.8315, allocations: 1.058 MB / 0.9639 GB, free: 220 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003773/0.8319, allocations: 191.4 kB / 0.9641 GB, free: 140 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8319, allocations: 3.938 kB / 0.9641 GB, free: 136 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.832, allocations: 62.56 kB / 0.9641 GB, free: 108 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.8324, allocations: 85.81 kB / 0.9642 GB, free: 64 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.8339, allocations: 1.165 MB / 0.9654 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/0.8344, allocations: 0.8017 MB / 0.9661 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001731/0.8346, allocations: 59.12 kB / 0.9662 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.8348, allocations: 103 kB / 0.9663 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.8348, allocations: 0 / 0.9663 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.8535, allocations: 6.783 MB / 0.9729 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/0.8538, allocations: 226.2 kB / 0.9731 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.694, allocations: 3.938 kB / 0.9731 GB, free: 10.79 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat does not exist to compare? outputFormat=mat