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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_10_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.01291/0.01291, allocations: 96.8 kB / 15.73 MB, free: 5.547 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.002227/0.002227, allocations: 190.1 kB / 16.67 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.762/2.762, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 5.195/5.195, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002638/0.002638, allocations: 63.91 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797/1.8, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.005369/1.805, allocations: 2.011 MB / 1.168 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003025/1.808, allocations: 1.193 MB / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002108/1.809, allocations: 3.938 kB / 1.169 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006012/1.809, allocations: 167.4 kB / 1.169 GB, free: 384 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000545/1.81, allocations: 151.4 kB / 1.17 GB, free: 232 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000927/1.811, allocations: 227.8 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006416/1.811, allocations: 311.2 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/1.812, allocations: 52.34 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003245/1.812, allocations: 143.5 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/1.812, allocations: 147.4 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.743e-05/1.812, allocations: 16 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000242/1.813, allocations: 51.98 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000166/1.813, allocations: 91.66 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000199/1.813, allocations: 123.1 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007656/1.814, allocations: 374.1 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.814, allocations: 0 / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.134e-06/1.814, allocations: 0 / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.764e-05/1.814, allocations: 0 / 1.171 GB, free: 14.72 MB / 0.9044 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.001699/1.815, allocations: 0.6494 MB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 7.359e-05/1.816, allocations: 8.922 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.79e-05/1.816, allocations: 42.73 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/1.816, allocations: 32.75 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008231/1.817, allocations: 374.2 kB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/1.817, allocations: 8 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.005e-05/1.817, allocations: 11.94 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003942/1.817, allocations: 105.6 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/1.817, allocations: 0 / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/1.817, allocations: 7.984 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/1.817, allocations: 4 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002754/1.818, allocations: 62.38 kB / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/1.819, allocations: 0.4965 MB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004724/1.819, allocations: 130.8 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/1.819, allocations: 48.83 kB / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.323e-05/1.82, allocations: 7.938 kB / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003564/1.82, allocations: 123.3 kB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 2.354e-06/1.82, allocations: 0 / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0007945/1.821, allocations: 218.6 kB / 1.173 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/1.821, allocations: 55.41 kB / 1.173 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009054/1.822, allocations: 0.5093 MB / 1.174 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/1.822, allocations: 29.64 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/1.822, allocations: 168.4 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.464e-05/1.822, allocations: 39.78 kB / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/1.822, allocations: 73.92 kB / 1.174 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002376/1.823, allocations: 350.8 kB / 1.174 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/1.823, allocations: 96.52 kB / 1.175 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/1.823, allocations: 132.2 kB / 1.175 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005104/1.824, allocations: 182.5 kB / 1.175 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.824, allocations: 0 / 1.175 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009077/1.825, allocations: 317.3 kB / 1.175 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/1.825, allocations: 7.938 kB / 1.175 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/1.825, allocations: 4 kB / 1.175 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/1.825, allocations: 3.938 kB / 1.175 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/1.825, allocations: 51.97 kB / 1.175 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/1.825, allocations: 3.938 kB / 1.175 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/1.825, allocations: 27.94 kB / 1.175 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-05/1.825, allocations: 8 kB / 1.175 GB, free: 10.14 MB / 0.9044 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.0003365/1.826, allocations: 177.8 kB / 1.175 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.61e-05/1.826, allocations: 47.62 kB / 1.176 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/1.826, allocations: 39.12 kB / 1.176 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/1.826, allocations: 0 / 1.176 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/1.826, allocations: 0 / 1.176 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/1.826, allocations: 0 / 1.176 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005026/1.827, allocations: 297.4 kB / 1.176 GB, free: 9.531 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.827, allocations: 4 kB / 1.176 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.96e-05/1.827, allocations: 8 kB / 1.176 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.354e-05/1.827, allocations: 7.938 kB / 1.176 GB, free: 9.512 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/1.827, allocations: 11.92 kB / 1.176 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/1.827, allocations: 0 / 1.176 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.827, allocations: 0 / 1.176 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005894/1.827, allocations: 200.8 kB / 1.176 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/1.828, allocations: 124.8 kB / 1.176 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.968e-05/1.828, allocations: 4 kB / 1.176 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/1.828, allocations: 15.98 kB / 1.176 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/1.828, allocations: 11.98 kB / 1.176 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/1.828, allocations: 15.98 kB / 1.176 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005848/1.829, allocations: 311.1 kB / 1.177 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.9e-07/1.829, allocations: 0 / 1.177 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005284/1.829, allocations: 63.88 kB / 1.177 GB, free: 8.734 MB / 0.9044 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.003267/1.832, allocations: 1.065 MB / 1.178 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007394/1.833, allocations: 196.1 kB / 1.178 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.833, allocations: 0 / 1.178 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002324/1.833, allocations: 72.03 kB / 1.178 GB, free: 7.539 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003016/1.836, allocations: 89.88 kB / 1.178 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006628/1.843, allocations: 3.116 MB / 1.181 GB, free: 4.25 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006444/1.844, allocations: 0.787 MB / 1.182 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002726/1.844, allocations: 50.95 kB / 1.182 GB, free: 3.391 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/1.844, allocations: 111.4 kB / 1.182 GB, free: 3.281 MB / 0.9044 GB Notification: Performance of SimCode: time 1.252e-06/1.844, allocations: 0 / 1.182 GB, free: 3.281 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1291/1.974, allocations: 7.144 MB / 1.189 GB, free: 12.22 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.01/20.98, allocations: 18.44 kB / 1.189 GB, free: 12.21 MB / 0.92 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/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