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.005237/0.005236, allocations: 102.2 kB / 15.73 MB, free: 6.039 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.001202/0.001202, allocations: 192.1 kB / 16.67 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.233/2.233, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.91 kB / 0.9504 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7911/0.7924, allocations: 140.4 MB / 1.088 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.004105/0.7965, allocations: 2.13 MB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002226/0.7988, allocations: 1.235 MB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.799, allocations: 8.719 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005581/0.7995, allocations: 159.2 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004099/0.8, allocations: 159.2 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006115/0.8006, allocations: 231.8 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004601/0.8011, allocations: 350.5 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.8013, allocations: 91.67 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002728/0.8016, allocations: 164.4 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.8018, allocations: 159.3 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.954e-05/0.8018, allocations: 17.03 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.802, allocations: 57.95 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.8021, allocations: 99.84 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.8023, allocations: 136.2 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005165/0.8028, allocations: 408.8 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.8028, allocations: 4 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8028, allocations: 0 / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.8028, allocations: 0.875 kB / 1.093 GB, free: 1.992 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.001175/0.804, allocations: 0.6606 MB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.8041, allocations: 12.47 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.208e-05/0.8041, allocations: 41.55 kB / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.8042, allocations: 37.84 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006733/0.8049, allocations: 410.1 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.8049, allocations: 4.906 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.805, allocations: 16.38 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.8053, allocations: 119 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.8053, allocations: 3.938 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.8053, allocations: 10.33 kB / 1.094 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.8053, allocations: 6.188 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.8055, allocations: 67.94 kB / 1.094 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000923/0.8064, allocations: 0.5256 MB / 1.095 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.8068, allocations: 125.1 kB / 1.095 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.8069, allocations: 49.09 kB / 1.095 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.807, allocations: 6.516 kB / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002296/0.8072, allocations: 109.8 kB / 1.095 GB, free: 448 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.8072, allocations: 0.8438 kB / 1.095 GB, free: 448 kB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0005309/0.8077, allocations: 202.7 kB / 1.095 GB, free: 356 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.8078, allocations: 61.27 kB / 1.095 GB, free: 284 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006822/0.8085, allocations: 0.5263 MB / 1.096 GB, free: 52 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.8085, allocations: 31.89 kB / 1.096 GB, free: 16 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.8087, allocations: 179.7 kB / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.8087, allocations: 41.84 kB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.8089, allocations: 64.67 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001905/0.8091, allocations: 350.5 kB / 1.096 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002908/0.8094, allocations: 104.2 kB / 1.096 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/0.8096, allocations: 131.7 kB / 1.097 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/0.81, allocations: 172.1 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.81, allocations: 0 / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000624/0.8106, allocations: 315.5 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.8107, allocations: 10.3 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.8107, allocations: 1.156 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.8107, allocations: 2.219 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.8109, allocations: 49.12 kB / 1.097 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.8109, allocations: 2.859 kB / 1.097 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.8111, allocations: 22.02 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.8112, allocations: 13.03 kB / 1.097 GB, free: 15.14 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.0001988/0.8114, allocations: 186.1 kB / 1.097 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.275e-05/0.8114, allocations: 38.81 kB / 1.097 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.045e-05/0.8115, allocations: 35.77 kB / 1.097 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.8115, allocations: 5.094 kB / 1.097 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.8115, allocations: 1.359 kB / 1.097 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.8116, allocations: 0.875 kB / 1.097 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003741/0.8119, allocations: 308.1 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.8119, allocations: 1.578 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-05/0.812, allocations: 6.891 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.812, allocations: 13.84 kB / 1.098 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.812, allocations: 6.781 kB / 1.098 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.812, allocations: 1.25 kB / 1.098 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.812, allocations: 0 / 1.098 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.8124, allocations: 195.1 kB / 1.098 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.8125, allocations: 117.1 kB / 1.098 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.226e-05/0.8126, allocations: 3.359 kB / 1.098 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.8127, allocations: 20.69 kB / 1.098 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.8128, allocations: 13.28 kB / 1.098 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.8128, allocations: 9.312 kB / 1.098 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004217/0.8132, allocations: 327.2 kB / 1.098 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8132, allocations: 0 / 1.098 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003224/0.8136, allocations: 63.39 kB / 1.098 GB, free: 14.29 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.001597/0.8152, allocations: 1.061 MB / 1.099 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004343/0.8156, allocations: 187 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8156, allocations: 1.125 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.8158, allocations: 53.34 kB / 1.1 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005792/0.8164, allocations: 100.6 kB / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004973/0.8213, allocations: 3.183 MB / 1.103 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.8218, allocations: 0.7988 MB / 1.104 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001995/0.822, allocations: 52.48 kB / 1.104 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.8222, allocations: 115.3 kB / 1.104 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of SimCode: time 5.51e-07/0.8223, allocations: 1.094 kB / 1.104 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.8519, allocations: 7.506 MB / 1.111 GB, free: 9.812 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.169/9.021, allocations: 13.58 kB / 1.111 GB, free: 9.805 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