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.007742/0.007742, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001792/0.001791, allocations: 189.1 kB / 16.67 MB, free: 5.93 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.432/1.432, 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.203/2.203, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 59.91 kB / 0.9505 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7428/0.7443, allocations: 140.4 MB / 1.088 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.003008/0.7474, allocations: 2.128 MB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.7491, allocations: 1.238 MB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.7493, allocations: 8.094 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004491/0.7498, allocations: 160.8 kB / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003698/0.7501, allocations: 155.6 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005841/0.7507, allocations: 227.6 kB / 1.091 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000417/0.7512, allocations: 349.9 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.7514, allocations: 97.38 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.7516, allocations: 147.4 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.7518, allocations: 159.5 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/0.7518, allocations: 17.31 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.752, allocations: 61.94 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.7521, allocations: 98.77 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.7522, allocations: 135.8 kB / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004851/0.7527, allocations: 411.7 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.7527, allocations: 4.781 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7527, allocations: 0 / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.7528, allocations: 1.422 kB / 1.093 GB, free: 2.004 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.0009434/0.7537, allocations: 0.655 MB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.7538, allocations: 10.61 kB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.7538, allocations: 40.53 kB / 1.093 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.064e-05/0.7539, allocations: 37.59 kB / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005154/0.7544, allocations: 411.8 kB / 1.094 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.7544, allocations: 8.406 kB / 1.094 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.7545, allocations: 7.906 kB / 1.094 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.7547, allocations: 119.2 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.7547, allocations: 0.5625 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.7548, allocations: 8.938 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.7548, allocations: 7.703 kB / 1.094 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.7549, allocations: 72.08 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008572/0.7558, allocations: 0.5252 MB / 1.095 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003459/0.7562, allocations: 129.2 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.7563, allocations: 48.33 kB / 1.095 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.7563, allocations: 2.688 kB / 1.095 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002114/0.7565, allocations: 118.4 kB / 1.095 GB, free: 464 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.7565, allocations: 0 / 1.095 GB, free: 464 kB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0004919/0.757, allocations: 202.7 kB / 1.095 GB, free: 372 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.7571, allocations: 56.91 kB / 1.095 GB, free: 304 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006644/0.7578, allocations: 0.531 MB / 1.096 GB, free: 68 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.7578, allocations: 28.94 kB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.7579, allocations: 182.8 kB / 1.096 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.758, allocations: 38.09 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.7581, allocations: 64.31 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.7582, allocations: 350 kB / 1.096 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.7585, allocations: 109.5 kB / 1.096 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.7587, allocations: 130 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.759, allocations: 164.1 kB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.759, allocations: 4.531 kB / 1.097 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005437/0.7596, allocations: 324.7 kB / 1.097 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.7596, allocations: 9.375 kB / 1.097 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.7596, allocations: 1.125 kB / 1.097 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.7596, allocations: 5.75 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.7598, allocations: 41.25 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.7598, allocations: 6.516 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.76, allocations: 23.11 kB / 1.097 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.7601, allocations: 12.64 kB / 1.097 GB, free: 15.15 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.0001804/0.7603, allocations: 181.3 kB / 1.097 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.7603, allocations: 39.8 kB / 1.097 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.927e-05/0.7604, allocations: 42.8 kB / 1.097 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.7604, allocations: 1.688 kB / 1.097 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.7604, allocations: 0.75 kB / 1.097 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.7604, allocations: 0.7969 kB / 1.097 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/0.7608, allocations: 305.7 kB / 1.098 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.7608, allocations: 0 / 1.098 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.804e-05/0.7608, allocations: 8.531 kB / 1.098 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.7608, allocations: 7.938 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.7608, allocations: 7.859 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.7608, allocations: 0.75 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7609, allocations: 1.281 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/0.7612, allocations: 189.6 kB / 1.098 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.7613, allocations: 117.6 kB / 1.098 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.7614, allocations: 6.641 kB / 1.098 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.7615, allocations: 20.7 kB / 1.098 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.7616, allocations: 16.91 kB / 1.098 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.7616, allocations: 6.25 kB / 1.098 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000427/0.7621, allocations: 327.1 kB / 1.098 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of sort global known variables: time 5.71e-07/0.7621, allocations: 0 / 1.098 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003577/0.7624, allocations: 67.44 kB / 1.098 GB, free: 14.3 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.001623/0.7641, allocations: 1.062 MB / 1.099 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004593/0.7646, allocations: 188.3 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.7646, allocations: 0 / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.7647, allocations: 50.06 kB / 1.1 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005307/0.7652, allocations: 100.2 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004761/0.77, allocations: 3.19 MB / 1.103 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.7704, allocations: 0.7948 MB / 1.104 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001813/0.7706, allocations: 53.36 kB / 1.104 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.7708, allocations: 115.6 kB / 1.104 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of SimCode: time 4.91e-07/0.7708, allocations: 0 / 1.104 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.7982, allocations: 7.37 MB / 1.111 GB, free: 9.871 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.004/8.802, allocations: 11.84 kB / 1.111 GB, free: 9.867 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