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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001186, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001318/0.001319, allocations: 194.4 kB / 16.14 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.438/2.438, allocations: 390.2 MB / 0.6642 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 63.91 kB / 0.8119 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8485/0.8499, allocations: 140.4 MB / 0.9489 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.0038/0.8537, allocations: 2.049 MB / 0.9509 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001792/0.8556, allocations: 1.177 MB / 0.9521 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.8557, allocations: 10.38 kB / 0.9521 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004621/0.8562, allocations: 150.1 kB / 0.9522 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.8565, allocations: 139 kB / 0.9524 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/0.8569, allocations: 200.3 kB / 0.9526 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003549/0.8573, allocations: 293.6 kB / 0.9528 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.8575, allocations: 50.52 kB / 0.9529 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.8577, allocations: 128.8 kB / 0.953 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.8578, allocations: 139.7 kB / 0.9531 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.8579, allocations: 10.5 kB / 0.9532 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.858, allocations: 48.53 kB / 0.9532 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.8581, allocations: 90.47 kB / 0.9533 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.8583, allocations: 109.9 kB / 0.9534 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003421/0.8586, allocations: 359.7 kB / 0.9537 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.8586, allocations: 1.5 kB / 0.9537 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8586, allocations: 0 / 0.9537 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.8586, allocations: 0 / 0.9537 GB, free: 5.555 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.0009176/0.8596, allocations: 0.6232 MB / 0.9543 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.8596, allocations: 9.312 kB / 0.9544 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.586e-05/0.8597, allocations: 36.69 kB / 0.9544 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004292/0.8601, allocations: 374.4 kB / 0.9547 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.8602, allocations: 12.66 kB / 0.9548 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.8602, allocations: 5.062 kB / 0.9548 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.8604, allocations: 116.8 kB / 0.9549 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.8604, allocations: 0 / 0.9549 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.8605, allocations: 3.984 kB / 0.9549 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.8605, allocations: 2.031 kB / 0.9549 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.8606, allocations: 59.22 kB / 0.9549 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007542/0.8614, allocations: 0.5007 MB / 0.9554 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.8617, allocations: 125.5 kB / 0.9555 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.8619, allocations: 57.08 kB / 0.9556 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.8619, allocations: 1.094 kB / 0.9556 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002327/0.8621, allocations: 113 kB / 0.9557 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.8621, allocations: 0 / 0.9557 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005244/0.8627, allocations: 224.8 kB / 0.9559 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.8627, allocations: 52.72 kB / 0.956 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005326/0.8633, allocations: 0.512 MB / 0.9565 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.8633, allocations: 31.11 kB / 0.9565 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.8634, allocations: 165.4 kB / 0.9567 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.8634, allocations: 37.66 kB / 0.9567 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.655e-05/0.8635, allocations: 74.06 kB / 0.9568 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.422e-05/0.8636, allocations: 344.6 kB / 0.9571 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.8638, allocations: 105.5 kB / 0.9572 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.864, allocations: 130.9 kB / 0.9573 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.8643, allocations: 182.8 kB / 0.9575 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.8643, allocations: 1.375 kB / 0.9575 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005128/0.8649, allocations: 322.9 kB / 0.9578 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.8649, allocations: 5.594 kB / 0.9578 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.8649, allocations: 9.062 kB / 0.9578 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.8649, allocations: 6.094 kB / 0.9578 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.8652, allocations: 50.34 kB / 0.9579 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.8652, allocations: 1.062 kB / 0.9579 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.8653, allocations: 23.77 kB / 0.9579 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.8654, allocations: 7.562 kB / 0.9579 GB, free: 2.363 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 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intLes.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000165/0.8655, allocations: 178.9 kB / 0.9581 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.8656, allocations: 34.45 kB / 0.9581 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.862e-05/0.8657, allocations: 41.22 kB / 0.9581 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.8657, allocations: 2.375 kB / 0.9581 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.8657, allocations: 0 / 0.9581 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.8657, allocations: 0 / 0.9581 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.8659, allocations: 300.2 kB / 0.9584 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.866, allocations: 1.062 kB / 0.9584 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.514e-05/0.866, allocations: 8.812 kB / 0.9584 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.866, allocations: 0.6875 kB / 0.9584 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.8661, allocations: 10.11 kB / 0.9585 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.8661, allocations: 5.062 kB / 0.9585 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.8661, allocations: 4 kB / 0.9585 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/0.8664, allocations: 205.8 kB / 0.9587 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.54e-05/0.8665, allocations: 123 kB / 0.9588 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.8666, allocations: 6.125 kB / 0.9588 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.8667, allocations: 12.27 kB / 0.9588 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.83e-05/0.8668, allocations: 23.19 kB / 0.9588 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.8668, allocations: 5.344 kB / 0.9588 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003493/0.8671, allocations: 319.7 kB / 0.9591 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8671, allocations: 0 / 0.9591 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003112/0.8675, allocations: 52.25 kB / 0.9592 GB, free: 1.383 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001072/0.8685, allocations: 425.6 kB / 0.9596 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004215/0.869, allocations: 188.8 kB / 0.9598 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.869, allocations: 128 / 0.9598 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.8691, allocations: 67.19 kB / 0.9598 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005039/0.8696, allocations: 85.78 kB / 0.9599 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008141/0.8705, allocations: 0.6017 MB / 0.9605 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.8707, allocations: 0.7933 MB / 0.9613 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001446/0.8709, allocations: 46.92 kB / 0.9613 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.805e-05/0.871, allocations: 31.89 kB / 0.9613 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.871, allocations: 0 / 0.9613 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of Templates: time 0.008568/0.8796, allocations: 3.876 MB / 0.9651 GB, free: 13.94 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches