Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001248/0.001248, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01002/0.01002, allocations: 168.4 kB / 16.26 MB, free: 6.648 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.523/1.523, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.826/2.826, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003613, allocations: 12 kB / 0.8728 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8389/0.8393, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.002648/0.842, allocations: 1.696 MB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002179/0.8442, allocations: 1.17 MB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.8444, allocations: 3.938 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005008/0.8449, allocations: 151.6 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003447/0.8452, allocations: 143.5 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005835/0.8458, allocations: 200.9 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003894/0.8462, allocations: 291.2 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.8464, allocations: 40.38 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.8466, allocations: 123.4 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.8468, allocations: 147.4 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.8469, allocations: 4 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.847, allocations: 43.97 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.8471, allocations: 83.67 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.8473, allocations: 140.8 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004224/0.8477, allocations: 344.7 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.8477, allocations: 0 / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.996e-06/0.8478, allocations: 0 / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.8478, allocations: 0 / 1.027 GB, free: 11.22 MB / 0.7794 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.001029/0.8488, allocations: 0.5853 MB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.8489, allocations: 8.031 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.985e-05/0.8489, allocations: 32.56 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005348/0.8495, allocations: 378.1 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.8495, allocations: 8 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.8495, allocations: 12 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.8498, allocations: 97.62 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.8498, allocations: 0 / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.8499, allocations: 11.98 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.8499, allocations: 0 / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.8501, allocations: 62.16 kB / 1.029 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009081/0.851, allocations: 0.5002 MB / 1.029 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/0.8513, allocations: 130.8 kB / 1.029 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.8515, allocations: 56.77 kB / 1.029 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.8515, allocations: 3.938 kB / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002428/0.8518, allocations: 124.3 kB / 1.029 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 2.054e-06/0.8518, allocations: 0 / 1.029 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0005473/0.8523, allocations: 211.5 kB / 1.03 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.8524, allocations: 63.34 kB / 1.03 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000598/0.853, allocations: 0.5014 MB / 1.03 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.853, allocations: 33.7 kB / 1.03 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.8532, allocations: 172.4 kB / 1.03 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.245e-05/0.8532, allocations: 39.55 kB / 1.03 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.8533, allocations: 33.7 kB / 1.03 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.8534, allocations: 350.8 kB / 1.031 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.8536, allocations: 96.52 kB / 1.031 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.8539, allocations: 135.6 kB / 1.031 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.8542, allocations: 178.5 kB / 1.031 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8542, allocations: 0 / 1.031 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005487/0.8548, allocations: 326.6 kB / 1.031 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.8548, allocations: 4 kB / 1.031 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.8548, allocations: 3.938 kB / 1.031 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.8548, allocations: 4 kB / 1.031 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.855, allocations: 47.91 kB / 1.032 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.8551, allocations: 4 kB / 1.032 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.8552, allocations: 27.89 kB / 1.032 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.8552, allocations: 12 kB / 1.032 GB, free: 6.785 MB / 0.7794 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.0001946/0.8554, allocations: 185.7 kB / 1.032 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.8555, allocations: 31.62 kB / 1.032 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.579e-05/0.8556, allocations: 39.05 kB / 1.032 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.8556, allocations: 4 kB / 1.032 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.8556, allocations: 0 / 1.032 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.8556, allocations: 0 / 1.032 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003959/0.856, allocations: 305.5 kB / 1.032 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.856, allocations: 0 / 1.032 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.505e-05/0.8561, allocations: 8 kB / 1.032 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.8561, allocations: 0 / 1.032 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.8561, allocations: 11.92 kB / 1.032 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.8561, allocations: 0 / 1.032 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8561, allocations: 0 / 1.032 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003824/0.8565, allocations: 208.5 kB / 1.032 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.888e-05/0.8566, allocations: 124.7 kB / 1.032 GB, free: 5.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/0.8567, allocations: 7.922 kB / 1.032 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.8568, allocations: 15.94 kB / 1.032 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.5e-05/0.8569, allocations: 19.97 kB / 1.032 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.8569, allocations: 4 kB / 1.032 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000345/0.8573, allocations: 319.1 kB / 1.033 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8573, allocations: 0 / 1.033 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002907/0.8576, allocations: 56 kB / 1.033 GB, free: 5.379 MB / 0.7794 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.00107/0.8586, allocations: 431.4 kB / 1.033 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004035/0.8591, allocations: 188.1 kB / 1.033 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.8591, allocations: 0 / 1.033 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.8592, allocations: 63.91 kB / 1.034 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004951/0.8597, allocations: 78.22 kB / 1.034 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009743/0.8607, allocations: 0.6124 MB / 1.034 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.8612, allocations: 0.787 MB / 1.035 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001439/0.8613, allocations: 50.95 kB / 1.035 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.233e-05/0.8614, allocations: 35.36 kB / 1.035 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.8614, allocations: 0 / 1.035 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of Templates: time 0.008777/0.8702, allocations: 3.817 MB / 1.039 GB, free: 15.47 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches