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.01222/0.01222, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.002206/0.002206, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.509/2.509, allocations: 222.9 MB / 240.4 MB, free: 15.16 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 4.56/4.56, allocations: 390.3 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 71.91 kB / 0.9505 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701/1.704, allocations: 140.4 MB / 1.088 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.005791/1.71, allocations: 2.125 MB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003674/1.713, allocations: 1.24 MB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000387/1.714, allocations: 8.312 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008788/1.715, allocations: 160 kB / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007523/1.715, allocations: 156.4 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001284/1.717, allocations: 241.8 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001196/1.718, allocations: 354.4 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004711/1.718, allocations: 89.27 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006841/1.719, allocations: 159.2 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004708/1.72, allocations: 159.1 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.955e-05/1.72, allocations: 17.12 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000399/1.72, allocations: 59.19 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002699/1.72, allocations: 104.1 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002696/1.721, allocations: 135.2 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001427/1.722, allocations: 412.8 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/1.722, allocations: 0.8125 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.579e-06/1.722, allocations: 0 / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.613e-05/1.722, allocations: 0.6562 kB / 1.093 GB, free: 2.012 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.002185/1.724, allocations: 0.6716 MB / 1.093 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 9.192e-05/1.725, allocations: 13.22 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.942e-05/1.725, allocations: 48.98 kB / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/1.725, allocations: 38.97 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/1.726, allocations: 406.7 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.489e-05/1.726, allocations: 4.859 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.778e-05/1.726, allocations: 12.36 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005667/1.727, allocations: 117.4 kB / 1.094 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/1.727, allocations: 7.938 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.755e-05/1.727, allocations: 10.11 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/1.727, allocations: 6.031 kB / 1.094 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003518/1.727, allocations: 67.55 kB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/1.729, allocations: 0.5326 MB / 1.095 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006678/1.73, allocations: 125.6 kB / 1.095 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/1.73, allocations: 52.31 kB / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.829e-05/1.73, allocations: 2.625 kB / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004615/1.73, allocations: 110.4 kB / 1.095 GB, free: 448 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 3.376e-06/1.73, allocations: 4.656 kB / 1.095 GB, free: 444 kB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.001081/1.732, allocations: 206.2 kB / 1.095 GB, free: 348 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/1.732, allocations: 58.08 kB / 1.095 GB, free: 280 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/1.733, allocations: 0.5227 MB / 1.096 GB, free: 52 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/1.733, allocations: 32.78 kB / 1.096 GB, free: 16 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003431/1.734, allocations: 179.7 kB / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.857e-05/1.734, allocations: 41.2 kB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002586/1.734, allocations: 72.69 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000322/1.734, allocations: 350.2 kB / 1.096 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004236/1.735, allocations: 100.1 kB / 1.096 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005856/1.735, allocations: 131.2 kB / 1.097 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007841/1.736, allocations: 171.6 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.535e-06/1.736, allocations: 0.75 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001443/1.738, allocations: 316.5 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.784e-05/1.738, allocations: 9.125 kB / 1.097 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/1.738, allocations: 1.828 kB / 1.097 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.317e-05/1.738, allocations: 2.531 kB / 1.097 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004366/1.738, allocations: 45.11 kB / 1.097 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.479e-05/1.738, allocations: 2.562 kB / 1.097 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004118/1.739, allocations: 30.83 kB / 1.097 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.341e-05/1.739, allocations: 12.66 kB / 1.097 GB, free: 15.13 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.0005554/1.739, allocations: 183.9 kB / 1.097 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/1.74, allocations: 39.95 kB / 1.097 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/1.74, allocations: 34.03 kB / 1.097 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/1.74, allocations: 2.156 kB / 1.097 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/1.74, allocations: 0.7188 kB / 1.097 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/1.74, allocations: 4.547 kB / 1.097 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00074/1.741, allocations: 322.1 kB / 1.098 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.741, allocations: 0 / 1.098 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.808e-05/1.741, allocations: 8.062 kB / 1.098 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.681e-05/1.741, allocations: 5.125 kB / 1.098 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/1.741, allocations: 7.188 kB / 1.098 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/1.741, allocations: 0 / 1.098 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.741, allocations: 1.203 kB / 1.098 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006571/1.741, allocations: 198.7 kB / 1.098 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/1.742, allocations: 124.9 kB / 1.098 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.018e-05/1.742, allocations: 6.922 kB / 1.098 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/1.742, allocations: 13.31 kB / 1.098 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/1.742, allocations: 16.84 kB / 1.098 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/1.742, allocations: 5.562 kB / 1.098 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008024/1.743, allocations: 327.5 kB / 1.098 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2e-07/1.743, allocations: 0 / 1.098 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005553/1.743, allocations: 59.48 kB / 1.098 GB, free: 14.27 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.002548/1.746, allocations: 1.053 MB / 1.099 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008352/1.747, allocations: 188.6 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.747, allocations: 4.125 kB / 1.1 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002331/1.747, allocations: 53.47 kB / 1.1 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009145/1.748, allocations: 97.98 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.009719/1.758, allocations: 3.193 MB / 1.103 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00075/1.759, allocations: 0.7948 MB / 1.104 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003613/1.759, allocations: 53.27 kB / 1.104 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002968/1.759, allocations: 115.8 kB / 1.104 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of SimCode: time 1.653e-06/1.759, allocations: 0 / 1.104 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0523/1.812, allocations: 7.375 MB / 1.111 GB, free: 9.832 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.57/17.38, allocations: 7.531 kB / 1.111 GB, free: 9.828 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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) Reference file matches