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.009165/0.009165, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001654/0.001654, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.36/1.36, 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.295/2.295, allocations: 390.2 MB / 0.6648 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 63.91 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9227/0.9242, allocations: 140.4 MB / 1.088 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.003779/0.928, allocations: 2.123 MB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002138/0.9302, allocations: 1.24 MB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002026/0.9304, allocations: 8.5 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000507/0.9309, allocations: 160 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003714/0.9313, allocations: 163.8 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006072/0.9319, allocations: 238.8 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004684/0.9324, allocations: 355.6 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002151/0.9326, allocations: 76.64 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002871/0.9329, allocations: 170.6 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.9332, allocations: 161.3 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.295e-05/0.9332, allocations: 17.12 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.9334, allocations: 61.14 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.9335, allocations: 91.89 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.9337, allocations: 140.2 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005338/0.9342, allocations: 404.1 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.9342, allocations: 0.6562 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.072e-06/0.9342, allocations: 0 / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.9342, allocations: 0 / 1.093 GB, free: 1.898 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.0009971/0.9352, allocations: 0.6678 MB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.9353, allocations: 10.22 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.612e-05/0.9354, allocations: 49.12 kB / 1.093 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.345e-05/0.9354, allocations: 41.12 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005325/0.936, allocations: 403.2 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.936, allocations: 9.172 kB / 1.094 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.936, allocations: 16.14 kB / 1.094 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.9363, allocations: 117.5 kB / 1.094 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.9363, allocations: 0.5625 kB / 1.094 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.9364, allocations: 1.5 kB / 1.094 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.9364, allocations: 10.25 kB / 1.094 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.9365, allocations: 64.75 kB / 1.094 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009191/0.9375, allocations: 0.5287 MB / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.9378, allocations: 125.9 kB / 1.095 GB, free: 448 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.938, allocations: 44.97 kB / 1.095 GB, free: 428 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.938, allocations: 1.594 kB / 1.095 GB, free: 428 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/0.9382, allocations: 118.7 kB / 1.095 GB, free: 348 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.9382, allocations: 0 / 1.095 GB, free: 348 kB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0005287/0.9388, allocations: 206.9 kB / 1.095 GB, free: 252 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.9388, allocations: 53.7 kB / 1.095 GB, free: 188 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007324/0.9396, allocations: 0.5298 MB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.9396, allocations: 32.3 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.9398, allocations: 187.9 kB / 1.096 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/0.9399, allocations: 38.05 kB / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.94, allocations: 64.38 kB / 1.096 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.9402, allocations: 350.1 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.9404, allocations: 100.8 kB / 1.096 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.9407, allocations: 127.1 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.941, allocations: 176.3 kB / 1.097 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.941, allocations: 0 / 1.097 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000547/0.9416, allocations: 311.9 kB / 1.097 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.9416, allocations: 11.69 kB / 1.097 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.9416, allocations: 1.875 kB / 1.097 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.9416, allocations: 2.188 kB / 1.097 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.9418, allocations: 53.88 kB / 1.097 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.9419, allocations: 2.062 kB / 1.097 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.942, allocations: 22.25 kB / 1.097 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.9421, allocations: 9.453 kB / 1.097 GB, free: 15.04 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.0001913/0.9423, allocations: 181.7 kB / 1.097 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.9423, allocations: 42.91 kB / 1.097 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.304e-05/0.9424, allocations: 39.22 kB / 1.097 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.9424, allocations: 5.469 kB / 1.097 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.9424, allocations: 1.094 kB / 1.097 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.9424, allocations: 4.781 kB / 1.097 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.9428, allocations: 308.7 kB / 1.098 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.9428, allocations: 5.281 kB / 1.098 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.758e-05/0.9428, allocations: 11.44 kB / 1.098 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.9428, allocations: 3.938 kB / 1.098 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.9429, allocations: 7.781 kB / 1.098 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.9429, allocations: 5.406 kB / 1.098 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.9429, allocations: 0 / 1.098 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/0.9432, allocations: 195.1 kB / 1.098 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.028e-05/0.9433, allocations: 117.4 kB / 1.098 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.9434, allocations: 2.641 kB / 1.098 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.9435, allocations: 16.44 kB / 1.098 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.269e-05/0.9436, allocations: 13.7 kB / 1.098 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.9436, allocations: 5.203 kB / 1.098 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004261/0.944, allocations: 330.3 kB / 1.098 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.944, allocations: 0 / 1.098 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003216/0.9444, allocations: 67.77 kB / 1.098 GB, free: 14.18 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.00148/0.9459, allocations: 1.053 MB / 1.099 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004159/0.9463, allocations: 187.9 kB / 1.1 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.9463, allocations: 0 / 1.1 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.9464, allocations: 58 kB / 1.1 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/0.9469, allocations: 93.06 kB / 1.1 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005206/0.9521, allocations: 3.182 MB / 1.103 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/0.9527, allocations: 0.8032 MB / 1.104 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001892/0.9528, allocations: 48.05 kB / 1.104 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.953, allocations: 116 kB / 1.104 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of SimCode: time 8.21e-07/0.953, allocations: 3.938 kB / 1.104 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03112/0.9842, allocations: 7.379 MB / 1.111 GB, free: 9.75 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.019/9.003, allocations: 5.875 kB / 1.111 GB, free: 9.75 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