Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.005639/0.005639, allocations: 99.73 kB / 15.73 MB, free: 6.043 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.001199/0.001199, allocations: 194.5 kB / 16.68 MB, free: 5.961 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.883/1.883, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.893/2.893, allocations: 390.3 MB / 0.6648 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 63.91 kB / 0.9505 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313/1.316, allocations: 140.4 MB / 1.088 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.005187/1.321, allocations: 2.121 MB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003147/1.324, allocations: 1.239 MB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002431/1.324, allocations: 8.844 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000687/1.325, allocations: 158.6 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005577/1.326, allocations: 155.7 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/1.327, allocations: 231.6 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000687/1.327, allocations: 354.1 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002987/1.328, allocations: 92.86 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003428/1.328, allocations: 152.2 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003181/1.328, allocations: 159.6 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.132e-05/1.329, allocations: 16.25 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002622/1.329, allocations: 58.86 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001887/1.329, allocations: 102.5 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002145/1.329, allocations: 135.8 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007781/1.33, allocations: 411.6 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/1.33, allocations: 1.344 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.402e-06/1.33, allocations: 0 / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.407e-05/1.33, allocations: 0.9688 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001632/1.332, allocations: 0.6555 MB / 1.093 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.232e-05/1.332, allocations: 13.44 kB / 1.093 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.527e-05/1.332, allocations: 44.98 kB / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/1.332, allocations: 38.09 kB / 1.093 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008816/1.333, allocations: 407.3 kB / 1.094 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.346e-05/1.333, allocations: 12.77 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.885e-05/1.333, allocations: 7.938 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004785/1.334, allocations: 117.8 kB / 1.094 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/1.334, allocations: 4 kB / 1.094 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/1.334, allocations: 6.062 kB / 1.094 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/1.334, allocations: 9.969 kB / 1.094 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/1.334, allocations: 68.27 kB / 1.094 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/1.335, allocations: 0.525 MB / 1.095 GB, free: 452 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005978/1.336, allocations: 126 kB / 1.095 GB, free: 392 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/1.336, allocations: 48.78 kB / 1.095 GB, free: 368 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.738e-05/1.336, allocations: 2.094 kB / 1.095 GB, free: 368 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003714/1.337, allocations: 114.1 kB / 1.095 GB, free: 292 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 2.975e-06/1.337, allocations: 4.719 kB / 1.095 GB, free: 288 kB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0008725/1.338, allocations: 202.3 kB / 1.095 GB, free: 196 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/1.338, allocations: 53.95 kB / 1.095 GB, free: 132 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/1.339, allocations: 0.5263 MB / 1.096 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.726e-05/1.339, allocations: 32.39 kB / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/1.339, allocations: 183.8 kB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.991e-05/1.339, allocations: 36.84 kB / 1.096 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/1.339, allocations: 70.11 kB / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002248/1.34, allocations: 353.1 kB / 1.096 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003584/1.34, allocations: 101.2 kB / 1.096 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003951/1.34, allocations: 134 kB / 1.097 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005369/1.341, allocations: 172.8 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/1.341, allocations: 0 / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009933/1.342, allocations: 316.4 kB / 1.097 GB, free: 15 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/1.342, allocations: 9.594 kB / 1.097 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/1.342, allocations: 1.25 kB / 1.097 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/1.342, allocations: 2.031 kB / 1.097 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/1.343, allocations: 41.52 kB / 1.097 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/1.343, allocations: 6.328 kB / 1.097 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003179/1.343, allocations: 27.12 kB / 1.097 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.399e-05/1.343, allocations: 12.59 kB / 1.097 GB, free: 14.98 MB / 0.8731 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,lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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.0003369/1.343, allocations: 177 kB / 1.097 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/1.343, allocations: 43.8 kB / 1.097 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001377/1.344, allocations: 39.12 kB / 1.097 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/1.344, allocations: 1.75 kB / 1.097 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.507e-06/1.344, allocations: 0.5156 kB / 1.097 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/1.344, allocations: 1.938 kB / 1.097 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006212/1.344, allocations: 309.2 kB / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/1.344, allocations: 4 kB / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.791e-05/1.344, allocations: 7.359 kB / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-05/1.344, allocations: 9.766 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/1.344, allocations: 2.281 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/1.344, allocations: 4.906 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.344, allocations: 1.094 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007105/1.345, allocations: 193.9 kB / 1.098 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/1.345, allocations: 118.3 kB / 1.098 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.755e-05/1.345, allocations: 10.62 kB / 1.098 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/1.346, allocations: 13 kB / 1.098 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/1.346, allocations: 15.7 kB / 1.098 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/1.346, allocations: 6.219 kB / 1.098 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007989/1.347, allocations: 326.2 kB / 1.098 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.91e-07/1.347, allocations: 0.9688 kB / 1.098 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006437/1.347, allocations: 63.97 kB / 1.098 GB, free: 14.13 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,les.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 5 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002649/1.35, allocations: 1.059 MB / 1.099 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007177/1.351, allocations: 187.4 kB / 1.1 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.351, allocations: 5.219 kB / 1.1 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000221/1.351, allocations: 49.08 kB / 1.1 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000871/1.352, allocations: 94.05 kB / 1.1 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007623/1.36, allocations: 3.191 MB / 1.103 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006079/1.36, allocations: 0.7986 MB / 1.104 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003172/1.361, allocations: 52.48 kB / 1.104 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002871/1.361, allocations: 115.1 kB / 1.104 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of SimCode: time 9.92e-07/1.361, allocations: 1.312 kB / 1.104 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8387/2.2, allocations: 7.378 MB / 1.111 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/16.16, allocations: 1.562 kB / 1.111 GB, free: 9.699 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Less_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Less.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,les.u1,les.u2,les.y,lesHys.y Variables in the result:les.h,les.pre_y_start,les.u1,les.u2,les.y,lesHys.h,lesHys.pre_y_start,lesHys.u1,lesHys.u2,lesHys.y,timTabLin.extrapolation,timTabLin.offset[1],timTabLin.smoothness,timTabLin.table[1,1],timTabLin.table[1,2],timTabLin.table[2,1],timTabLin.table[2,2],timTabLin.table[3,1],timTabLin.table[3,2],timTabLin.table[4,1],timTabLin.table[4,2],timTabLin.table[5,1],timTabLin.table[5,2],timTabLin.timeScale,timTabLin.y[1],timTabLin1.extrapolation,timTabLin1.offset[1],timTabLin1.smoothness,timTabLin1.table[1,1],timTabLin1.table[1,2],timTabLin1.table[2,1],timTabLin1.table[2,2],timTabLin1.table[3,1],timTabLin1.table[3,2],timTabLin1.table[4,1],timTabLin1.table[4,2],timTabLin1.table[5,1],timTabLin1.table[5,2],timTabLin1.timeScale,timTabLin1.y[1],time