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.0008212/0.0008213, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008921/0.0008921, allocations: 168.7 kB / 15.95 MB, free: 204 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.477/1.477, allocations: 223.3 MB / 240 MB, free: 5.41 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.538/2.538, allocations: 390.4 MB / 0.6655 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003284, allocations: 12 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8164/0.8168, allocations: 142.3 MB / 0.9539 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.002278/0.8191, allocations: 1.65 MB / 0.9555 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.8209, allocations: 1.115 MB / 0.9566 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.8211, allocations: 2.281 kB / 0.9566 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004178/0.8215, allocations: 143.1 kB / 0.9567 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003163/0.8219, allocations: 129.8 kB / 0.9568 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005613/0.8224, allocations: 179.8 kB / 0.957 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003691/0.8228, allocations: 267.6 kB / 0.9573 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.823, allocations: 39.44 kB / 0.9573 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.8232, allocations: 128.2 kB / 0.9574 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.8234, allocations: 122 kB / 0.9575 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.8234, allocations: 4.469 kB / 0.9575 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.8236, allocations: 47.06 kB / 0.9576 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.344e-05/0.8237, allocations: 81.31 kB / 0.9577 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.067e-05/0.8237, allocations: 66.08 kB / 0.9577 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.8241, allocations: 286.5 kB / 0.958 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.8241, allocations: 0 / 0.958 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.233e-06/0.8241, allocations: 0 / 0.958 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.8241, allocations: 0 / 0.958 GB, free: 5.055 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.0008861/0.825, allocations: 0.586 MB / 0.9586 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.825, allocations: 8.75 kB / 0.9586 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.717e-05/0.8251, allocations: 41.33 kB / 0.9586 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.8e-05/0.8252, allocations: 34.47 kB / 0.9587 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004817/0.8257, allocations: 355 kB / 0.959 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.8257, allocations: 3.438 kB / 0.959 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.8257, allocations: 13.72 kB / 0.959 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.826, allocations: 108.5 kB / 0.9591 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.826, allocations: 0 / 0.9591 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.826, allocations: 9.047 kB / 0.9591 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.826, allocations: 2.344 kB / 0.9591 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.8262, allocations: 54.59 kB / 0.9592 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007796/0.827, allocations: 0.4985 MB / 0.9597 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/0.8273, allocations: 132.3 kB / 0.9598 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.8275, allocations: 43.47 kB / 0.9598 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.031e-05/0.8275, allocations: 10.33 kB / 0.9598 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002442/0.8278, allocations: 124.1 kB / 0.96 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.863e-06/0.8278, allocations: 0 / 0.96 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005572/0.8283, allocations: 212 kB / 0.9602 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.8284, allocations: 52.78 kB / 0.9602 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006875/0.8291, allocations: 0.5084 MB / 0.9607 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.8291, allocations: 36.05 kB / 0.9607 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.8292, allocations: 164.9 kB / 0.9609 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.8293, allocations: 34 kB / 0.9609 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.68e-05/0.8293, allocations: 9.047 kB / 0.9609 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.861e-05/0.8294, allocations: 345.6 kB / 0.9613 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.8296, allocations: 99.62 kB / 0.9614 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.8299, allocations: 133.8 kB / 0.9615 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.8301, allocations: 107.6 kB / 0.9616 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8301, allocations: 0 / 0.9616 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005757/0.8307, allocations: 320.9 kB / 0.9619 GB, free: 2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.8307, allocations: 5.969 kB / 0.9619 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.8307, allocations: 1.156 kB / 0.9619 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.8307, allocations: 1.438 kB / 0.9619 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.831, allocations: 50.62 kB / 0.962 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.831, allocations: 6.219 kB / 0.962 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.8312, allocations: 23.52 kB / 0.962 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.8312, allocations: 12.41 kB / 0.962 GB, free: 1.965 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.0001918/0.8314, allocations: 183.1 kB / 0.9622 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.836e-05/0.8315, allocations: 33.77 kB / 0.9622 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.035e-05/0.8316, allocations: 37.55 kB / 0.9622 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.8316, allocations: 1.844 kB / 0.9622 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.8316, allocations: 0 / 0.9622 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.8316, allocations: 4.75 kB / 0.9622 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.8319, allocations: 300.4 kB / 0.9625 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.8319, allocations: 3.953 kB / 0.9625 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.165e-05/0.832, allocations: 13.69 kB / 0.9625 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.832, allocations: 4.781 kB / 0.9626 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.832, allocations: 6.016 kB / 0.9626 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.832, allocations: 1.156 kB / 0.9626 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.832, allocations: 3.938 kB / 0.9626 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.8323, allocations: 205.5 kB / 0.9628 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-05/0.8324, allocations: 118 kB / 0.9629 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.8325, allocations: 1.938 kB / 0.9629 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.8e-05/0.8326, allocations: 14.27 kB / 0.9629 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.872e-05/0.8327, allocations: 19.31 kB / 0.9629 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.8327, allocations: 5.438 kB / 0.9629 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003617/0.8331, allocations: 312.3 kB / 0.9632 GB, free: 1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8331, allocations: 0 / 0.9632 GB, free: 1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003247/0.8334, allocations: 64.3 kB / 0.9633 GB, free: 0.9805 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.001451/0.8349, allocations: 1.073 MB / 0.9643 GB, free: 192 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003778/0.8352, allocations: 184.6 kB / 0.9645 GB, free: 120 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8353, allocations: 4.062 kB / 0.9645 GB, free: 116 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.8354, allocations: 58.38 kB / 0.9646 GB, free: 92 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/0.8359, allocations: 88.47 kB / 0.9646 GB, free: 48 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003936/0.8398, allocations: 2.073 MB / 0.9667 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/0.8403, allocations: 0.782 MB / 0.9674 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002083/0.8405, allocations: 62.42 kB / 0.9675 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.8407, allocations: 106.8 kB / 0.9676 GB, free: 14 MB / 0.7325 GB Notification: Performance of SimCode: time 4.7e-07/0.8407, allocations: 0 / 0.9676 GB, free: 14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/0.868, allocations: 6.982 MB / 0.9744 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003202/0.8684, allocations: 225.7 kB / 0.9746 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.782, allocations: 5.312 kB / 0.9746 GB, free: 10.48 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