Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 113 kB / 16.42 MB, free: 6.449 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.001924/0.001924, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.454/1.454, allocations: 222.9 MB / 241 MB, free: 15.17 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.322/2.322, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 71.89 kB / 0.9516 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.025, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.001728/1.027, allocations: 0.7132 MB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001134/1.028, allocations: 0.7991 MB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.78e-05/1.028, allocations: 7.875 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/1.028, allocations: 1.484 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.692e-05/1.028, allocations: 13.72 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001045/1.028, allocations: 10.77 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.316e-05/1.028, allocations: 39.19 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/1.028, allocations: 14.48 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.579e-05/1.028, allocations: 21.72 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.588e-05/1.028, allocations: 22.39 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/1.028, allocations: 3.812 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.353e-05/1.028, allocations: 3.312 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.959e-05/1.028, allocations: 6.969 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/1.029, allocations: 21.66 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.354e-05/1.029, allocations: 36.69 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1.029, allocations: 0.7031 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.423e-06/1.029, allocations: 4 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.811e-06/1.029, allocations: 0.7812 kB / 1.09 GB, free: 4.355 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004834/1.029, allocations: 362.2 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/1.029, allocations: 12.84 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/1.029, allocations: 6.938 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.931e-05/1.029, allocations: 174.1 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/1.029, allocations: 1.938 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/1.029, allocations: 9.875 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/1.03, allocations: 64.08 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/1.03, allocations: 1.281 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/1.03, allocations: 8.641 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/1.03, allocations: 1.125 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/1.03, allocations: 62.5 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/1.03, allocations: 269.9 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/1.031, allocations: 59.98 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/1.031, allocations: 40.66 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/1.031, allocations: 5.828 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.259e-05/1.031, allocations: 34.5 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/1.031, allocations: 1.094 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005596/1.031, allocations: 128.6 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.815e-05/1.031, allocations: 56.02 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.127e-05/1.031, allocations: 111.7 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/1.031, allocations: 25.7 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.753e-05/1.031, allocations: 87.81 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/1.031, allocations: 13.64 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/1.032, allocations: 14.3 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.057e-05/1.032, allocations: 317.3 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/1.032, allocations: 34.72 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/1.032, allocations: 31.39 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/1.032, allocations: 70.5 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.032, allocations: 0 / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004709/1.033, allocations: 107.2 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/1.033, allocations: 6.156 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.033, allocations: 0.6562 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/1.033, allocations: 0 / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/1.033, allocations: 19.72 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/1.033, allocations: 0 / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.307e-05/1.033, allocations: 16.52 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/1.033, allocations: 1.219 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.176e-05/1.033, allocations: 116.8 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/1.033, allocations: 5.125 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003778/1.033, allocations: 108.8 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/1.033, allocations: 5.438 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/1.033, allocations: 0 / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.025e-05/1.033, allocations: 79.67 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/1.034, allocations: 0.5625 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/1.034, allocations: 11.31 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/1.034, allocations: 7.75 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004045/1.034, allocations: 187.8 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000356/1.034, allocations: 273.9 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001574/1.035, allocations: 38.11 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.027e-05/1.035, allocations: 91.47 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of Backend: time 2.81e-07/1.035, allocations: 0.9375 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004969/1.035, allocations: 111.5 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004017/1.036, allocations: 0.5647 MB / 1.094 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of Templates: time 0.003263/1.039, allocations: 0.8645 MB / 1.095 GB, free: 1.113 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches