Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009255/0.0009255, allocations: 99.39 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.00103/0.00103, allocations: 177.3 kB / 15.94 MB, free: 228 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.416/1.416, allocations: 223.2 MB / 239.9 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.503/2.503, allocations: 390.3 MB / 0.6653 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005543/0.0005543, allocations: 12 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8218/0.8224, allocations: 142.3 MB / 0.9535 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001411/0.8239, allocations: 420.7 kB / 0.9539 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.8254, allocations: 0.8227 MB / 0.9547 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.912e-05/0.8255, allocations: 1.344 kB / 0.9547 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.8255, allocations: 3.984 kB / 0.9547 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.8257, allocations: 5.281 kB / 0.9547 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.8259, allocations: 20.12 kB / 0.9548 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.181e-05/0.826, allocations: 20.17 kB / 0.9548 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.8261, allocations: 12.05 kB / 0.9548 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.995e-05/0.8262, allocations: 22.33 kB / 0.9548 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.539e-05/0.8263, allocations: 26.53 kB / 0.9548 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.8263, allocations: 2.562 kB / 0.9548 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.509e-05/0.8263, allocations: 1.156 kB / 0.9548 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.8264, allocations: 10.58 kB / 0.9548 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.8264, allocations: 30.98 kB / 0.9549 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.092e-05/0.8265, allocations: 35.05 kB / 0.9549 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.8265, allocations: 4 kB / 0.9549 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.665e-06/0.8265, allocations: 0 / 0.9549 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.8265, allocations: 0 / 0.9549 GB, free: 6.961 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005087/0.827, allocations: 350.4 kB / 0.9552 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.8271, allocations: 12.45 kB / 0.9553 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/0.8271, allocations: 6.375 kB / 0.9553 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.8273, allocations: 167.1 kB / 0.9554 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.8274, allocations: 9.125 kB / 0.9554 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.8274, allocations: 2.281 kB / 0.9554 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.8276, allocations: 76.25 kB / 0.9555 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.8276, allocations: 0 / 0.9555 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.8277, allocations: 0 / 0.9555 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.8277, allocations: 5.078 kB / 0.9555 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002525/0.8279, allocations: 68.92 kB / 0.9556 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.8284, allocations: 283.1 kB / 0.9558 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.8286, allocations: 72.42 kB / 0.9559 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.8287, allocations: 0 / 0.9559 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.8287, allocations: 39.8 kB / 0.956 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.8287, allocations: 0 / 0.956 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004667/0.8292, allocations: 123.4 kB / 0.9561 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.8292, allocations: 52.62 kB / 0.9561 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.933e-05/0.8293, allocations: 106.9 kB / 0.9562 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.8293, allocations: 25.7 kB / 0.9562 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.8294, allocations: 98.27 kB / 0.9563 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.8294, allocations: 9.156 kB / 0.9564 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-06/0.8294, allocations: 0 / 0.9564 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.059e-05/0.8295, allocations: 324 kB / 0.9567 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.8296, allocations: 25.73 kB / 0.9567 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.477e-05/0.8297, allocations: 33.94 kB / 0.9567 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.8298, allocations: 24.23 kB / 0.9567 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8298, allocations: 0.9688 kB / 0.9567 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002404/0.8301, allocations: 102.9 kB / 0.9568 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.8301, allocations: 9.391 kB / 0.9568 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.8301, allocations: 0 / 0.9568 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.8301, allocations: 1.469 kB / 0.9569 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.8303, allocations: 13.64 kB / 0.9569 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.8303, allocations: 3.938 kB / 0.9569 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.419e-05/0.8304, allocations: 11.27 kB / 0.9569 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.8304, allocations: 5.875 kB / 0.9569 GB, free: 5.066 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.186e-05/0.8305, allocations: 115.7 kB / 0.957 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.8305, allocations: 6.094 kB / 0.957 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/0.8305, allocations: 16.66 kB / 0.957 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.8305, allocations: 1.125 kB / 0.957 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.8306, allocations: 0 / 0.957 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.8306, allocations: 1 kB / 0.957 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.8307, allocations: 171.7 kB / 0.9572 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.8307, allocations: 3.984 kB / 0.9572 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.65e-05/0.8308, allocations: 18.08 kB / 0.9572 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.8308, allocations: 0.8438 kB / 0.9572 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.8308, allocations: 1.031 kB / 0.9572 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.8308, allocations: 3.953 kB / 0.9572 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.8308, allocations: 0.8438 kB / 0.9572 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.8311, allocations: 197.2 kB / 0.9574 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.98e-05/0.8311, allocations: 78.33 kB / 0.9575 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.8312, allocations: 1.406 kB / 0.9575 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.8313, allocations: 10.67 kB / 0.9575 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.8313, allocations: 15.16 kB / 0.9575 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.8313, allocations: 2.125 kB / 0.9575 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.474e-05/0.8314, allocations: 93.14 kB / 0.9576 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8314, allocations: 0 / 0.9576 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000214/0.8316, allocations: 6.969 kB / 0.9576 GB, free: 4.336 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: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001201/0.8317, allocations: 96.5 kB / 0.9577 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002615/0.832, allocations: 72.58 kB / 0.9578 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.832, allocations: 0 / 0.9578 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.8321, allocations: 38.72 kB / 0.9578 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.8324, allocations: 6.25 kB / 0.9578 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/0.8327, allocations: 143.1 kB / 0.9579 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.8329, allocations: 0.6856 MB / 0.9586 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.77e-05/0.833, allocations: 3.188 kB / 0.9586 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.833, allocations: 10.81 kB / 0.9586 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.833, allocations: 0 / 0.9586 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of Templates: time 0.003214/0.8362, allocations: 0.7505 MB / 0.9594 GB, free: 2.953 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches