Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.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.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conRadSup.TRoo|conRadSup.TSup|conRadSup.yVal",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conRadSup.TRoo|conRadSup.TSup|conRadSup.yVal",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 106 kB / 16.41 MB, free: 6.5 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.001483/0.001483, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.408/1.408, allocations: 222.9 MB / 241.1 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.412/2.412, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 64.03 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019/1.02, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.00364/1.024, allocations: 2.217 MB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001138/1.025, allocations: 0.521 MB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/1.025, allocations: 4.625 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000212/1.025, allocations: 50.36 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/1.025, allocations: 44.36 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/1.026, allocations: 141.1 kB / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004277/1.026, allocations: 369.7 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003306/1.027, allocations: 174.3 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/1.027, allocations: 129.8 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/1.027, allocations: 148.7 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.041e-05/1.027, allocations: 41.91 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.205e-05/1.027, allocations: 39.78 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.257e-05/1.027, allocations: 75.19 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001369/1.027, allocations: 152.8 kB / 1.093 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006263/1.028, allocations: 473.3 kB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/1.028, allocations: 1.062 kB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.364e-06/1.028, allocations: 0 / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.736e-06/1.028, allocations: 0 / 1.093 GB, free: 2.586 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001009/1.029, allocations: 0.6113 MB / 1.094 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/1.029, allocations: 13.44 kB / 1.094 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.883e-05/1.029, allocations: 33.5 kB / 1.094 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005171/1.03, allocations: 318.9 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/1.03, allocations: 22.94 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.849e-05/1.03, allocations: 24.62 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006044/1.03, allocations: 279.3 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/1.03, allocations: 3.938 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/1.03, allocations: 15.28 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/1.031, allocations: 5.969 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005577/1.031, allocations: 216 kB / 1.095 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/1.033, allocations: 0.9663 MB / 1.095 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005093/1.033, allocations: 277 kB / 1.096 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002556/1.033, allocations: 101.7 kB / 1.096 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/1.033, allocations: 7.391 kB / 1.096 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/1.033, allocations: 40.31 kB / 1.096 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/1.033, allocations: 0 / 1.096 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0007945/1.034, allocations: 251.8 kB / 1.096 GB, free: 484 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/1.034, allocations: 54.06 kB / 1.096 GB, free: 420 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003622/1.035, allocations: 275.7 kB / 1.096 GB, free: 256 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/1.035, allocations: 26.83 kB / 1.096 GB, free: 224 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/1.035, allocations: 188.3 kB / 1.097 GB, free: 60 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.679e-05/1.035, allocations: 55.03 kB / 1.097 GB, free: 16 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/1.035, allocations: 48.83 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.035, allocations: 331.6 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/1.035, allocations: 82.89 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/1.036, allocations: 121.6 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004877/1.036, allocations: 192.7 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.036, allocations: 0.7188 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000618/1.037, allocations: 245.5 kB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/1.037, allocations: 5.75 kB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/1.037, allocations: 1.719 kB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/1.037, allocations: 6.188 kB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/1.037, allocations: 49.84 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/1.037, allocations: 1.719 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/1.037, allocations: 26.23 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/1.037, allocations: 6.594 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003151/1.038, allocations: 182 kB / 1.098 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002396/1.038, allocations: 118.2 kB / 1.098 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003914/1.038, allocations: 182.8 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.178e-06/1.038, allocations: 4.578 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005402/1.039, allocations: 241.5 kB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/1.039, allocations: 9.688 kB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-06/1.039, allocations: 1.438 kB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.939e-06/1.039, allocations: 3.094 kB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/1.039, allocations: 42.61 kB / 1.099 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/1.039, allocations: 2.797 kB / 1.099 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/1.039, allocations: 23.16 kB / 1.099 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/1.039, allocations: 9.719 kB / 1.099 GB, free: 14.86 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (conRadSup.conPIDRad.con1.y,conRadSup.conPIDRad.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001431/1.039, allocations: 197.6 kB / 1.099 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/1.04, allocations: 23.08 kB / 1.099 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005966/1.04, allocations: 220.8 kB / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/1.04, allocations: 1.844 kB / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.04, allocations: 4.062 kB / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/1.04, allocations: 6.531 kB / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/1.041, allocations: 0.6204 MB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.041, allocations: 1.094 kB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/1.041, allocations: 41.42 kB / 1.1 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/1.041, allocations: 1.125 kB / 1.1 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/1.042, allocations: 2.562 kB / 1.1 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/1.042, allocations: 5.625 kB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.042, allocations: 0 / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008141/1.042, allocations: 394.3 kB / 1.1 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.519e-05/1.042, allocations: 108.8 kB / 1.1 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/1.042, allocations: 6.188 kB / 1.1 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/1.043, allocations: 16.7 kB / 1.1 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.903e-05/1.043, allocations: 9.328 kB / 1.1 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/1.043, allocations: 12.05 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002396/1.043, allocations: 198.8 kB / 1.1 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.043, allocations: 3.938 kB / 1.1 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004495/1.043, allocations: 83.56 kB / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conRadSup.conPIDRad.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.0001432/1.044, allocations: 102.3 kB / 1.101 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007961/1.044, allocations: 283.5 kB / 1.101 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.044, allocations: 0 / 1.101 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002262/1.045, allocations: 88.92 kB / 1.101 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/1.045, allocations: 35.62 kB / 1.101 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/1.046, allocations: 493.5 kB / 1.101 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/1.047, allocations: 0.7617 MB / 1.102 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/1.047, allocations: 22.94 kB / 1.102 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/1.047, allocations: 0 / 1.102 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of Templates: time 0.007565/1.054, allocations: 3.164 MB / 1.105 GB, free: 11.97 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches