Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001601/0.001601, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.503/2.503, allocations: 437 MB / 0.7103 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.89 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6025/0.6038, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003316/0.6072, allocations: 2.201 MB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009635/0.6082, allocations: 0.5296 MB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.6083, allocations: 4 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.6085, allocations: 51.47 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.6087, allocations: 35.59 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.609, allocations: 147.7 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003351/0.6093, allocations: 364.2 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.6096, allocations: 185.1 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.6098, allocations: 131.4 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.6099, allocations: 139.3 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.324e-05/0.61, allocations: 40 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.756e-05/0.6101, allocations: 48 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.811e-05/0.6101, allocations: 79.75 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.6103, allocations: 151.2 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003822/0.6106, allocations: 464.5 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6107, allocations: 0 / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6107, allocations: 0 / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.6107, allocations: 0 / 1.022 GB, free: 13.93 MB / 0.7794 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.0009414/0.6116, allocations: 0.6095 MB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.6117, allocations: 8.031 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.835e-05/0.6117, allocations: 40.47 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004011/0.6121, allocations: 315.4 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.6122, allocations: 16.94 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/0.6122, allocations: 24.38 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005197/0.6128, allocations: 292.1 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.6128, allocations: 3.938 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.6128, allocations: 8 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.6128, allocations: 8 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005068/0.6133, allocations: 206.1 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.6147, allocations: 0.982 MB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004676/0.6152, allocations: 275.9 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002345/0.6154, allocations: 104.8 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.6155, allocations: 0 / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.6155, allocations: 34.56 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.012e-06/0.6155, allocations: 0 / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0006964/0.6162, allocations: 263.3 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.6163, allocations: 55.39 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.6165, allocations: 278.6 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.6166, allocations: 25.7 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.6167, allocations: 184 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.19e-05/0.6167, allocations: 55.2 kB / 1.025 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.429e-05/0.6168, allocations: 37.7 kB / 1.025 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.6169, allocations: 342.8 kB / 1.026 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.6171, allocations: 80.67 kB / 1.026 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.6174, allocations: 127 kB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004308/0.6178, allocations: 185.8 kB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.6178, allocations: 8.031 kB / 1.026 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005346/0.6184, allocations: 241.2 kB / 1.026 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.6184, allocations: 8 kB / 1.026 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.6184, allocations: 3.984 kB / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.6184, allocations: 7.938 kB / 1.026 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.6187, allocations: 52.03 kB / 1.026 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.6187, allocations: 0 / 1.026 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.6189, allocations: 27.73 kB / 1.026 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.6189, allocations: 8 kB / 1.026 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002535/0.6192, allocations: 180.1 kB / 1.027 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001882/0.6193, allocations: 113 kB / 1.027 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003436/0.6197, allocations: 181.7 kB / 1.027 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.252e-06/0.6197, allocations: 4.031 kB / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004445/0.6202, allocations: 243.5 kB / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/0.6202, allocations: 4 kB / 1.027 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-06/0.6202, allocations: 0 / 1.027 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.807e-06/0.6202, allocations: 4 kB / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.6204, allocations: 43.91 kB / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.6204, allocations: 4.125 kB / 1.027 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.6205, allocations: 23.83 kB / 1.027 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.6205, allocations: 8 kB / 1.027 GB, free: 7.961 MB / 0.7794 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.0001068/0.6207, allocations: 201.2 kB / 1.027 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.113e-05/0.6207, allocations: 23.72 kB / 1.027 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005291/0.6213, allocations: 221.5 kB / 1.028 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.6213, allocations: 0 / 1.028 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.6213, allocations: 0 / 1.028 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.6213, allocations: 0 / 1.028 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008813/0.6222, allocations: 0.6231 MB / 1.028 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.6222, allocations: 8 kB / 1.028 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.6224, allocations: 35.97 kB / 1.028 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.6224, allocations: 0 / 1.028 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.6224, allocations: 4 kB / 1.028 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.6224, allocations: 0 / 1.028 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6224, allocations: 0 / 1.028 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007029/0.6231, allocations: 396.2 kB / 1.029 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.6232, allocations: 112.7 kB / 1.029 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.6232, allocations: 8 kB / 1.029 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.6234, allocations: 15.98 kB / 1.029 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.6235, allocations: 11.98 kB / 1.029 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.6235, allocations: 7.938 kB / 1.029 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001773/0.6237, allocations: 198 kB / 1.029 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6237, allocations: 0 / 1.029 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003932/0.6241, allocations: 83.69 kB / 1.029 GB, free: 5.941 MB / 0.7794 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.0001211/0.6242, allocations: 108.3 kB / 1.029 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006919/0.6249, allocations: 287.9 kB / 1.029 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6249, allocations: 3.938 kB / 1.029 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.6251, allocations: 87.83 kB / 1.03 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.6256, allocations: 42.05 kB / 1.03 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008005/0.6264, allocations: 463.5 kB / 1.03 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.6267, allocations: 0.7597 MB / 1.031 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001243/0.6268, allocations: 25.94 kB / 1.031 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.636e-05/0.6269, allocations: 27.42 kB / 1.031 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.6269, allocations: 0 / 1.031 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of Templates: time 0.005355/0.6323, allocations: 2.305 MB / 1.033 GB, free: 1.82 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches