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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.01003/0.01003, allocations: 111 kB / 15.71 MB, free: 5.543 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.002269/0.002269, allocations: 189.9 kB / 16.64 MB, free: 5.484 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.505/1.505, allocations: 222.9 MB / 240.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.235/2.235, allocations: 390.3 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 59.91 kB / 0.9509 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9054/0.9067, allocations: 140.4 MB / 1.088 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002939/0.9096, allocations: 2.202 MB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008849/0.9106, allocations: 0.5232 MB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.9107, allocations: 7.969 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.9109, allocations: 50.28 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.911, allocations: 36.78 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.9113, allocations: 149.2 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003525/0.9117, allocations: 369.8 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002943/0.912, allocations: 181.8 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.9122, allocations: 130.2 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.9123, allocations: 136.9 kB / 1.092 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.981e-05/0.9124, allocations: 40.62 kB / 1.092 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.521e-05/0.9125, allocations: 44.62 kB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.355e-05/0.9125, allocations: 76.17 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.9126, allocations: 151.3 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004624/0.9131, allocations: 477.1 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.9131, allocations: 9.453 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9131, allocations: 0 / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.9131, allocations: 0 / 1.092 GB, free: 2.504 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.0009018/0.914, allocations: 0.6064 MB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.9141, allocations: 8.719 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.816e-05/0.9142, allocations: 36.97 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.9146, allocations: 318.8 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.9146, allocations: 18.78 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/0.9147, allocations: 26.05 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006434/0.9154, allocations: 278.4 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.9154, allocations: 7.938 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/0.9154, allocations: 11.53 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.9154, allocations: 5.781 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006411/0.9161, allocations: 208.4 kB / 1.094 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.9179, allocations: 0.9731 MB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005951/0.9185, allocations: 273.3 kB / 1.095 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002964/0.9188, allocations: 102.5 kB / 1.095 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.9189, allocations: 3.016 kB / 1.095 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.9189, allocations: 36.06 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 3.947e-06/0.9189, allocations: 3.984 kB / 1.095 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0008502/0.9198, allocations: 262.3 kB / 1.095 GB, free: 416 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.9198, allocations: 54 kB / 1.096 GB, free: 352 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003469/0.9202, allocations: 271.8 kB / 1.096 GB, free: 192 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.9202, allocations: 27.42 kB / 1.096 GB, free: 160 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.9203, allocations: 179.5 kB / 1.096 GB, free: 4 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.039e-05/0.9204, allocations: 55.27 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.319e-05/0.9205, allocations: 45.25 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.9207, allocations: 336.1 kB / 1.096 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.9209, allocations: 78.42 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.9212, allocations: 125.1 kB / 1.097 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004728/0.9217, allocations: 193.1 kB / 1.097 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.9217, allocations: 8.812 kB / 1.097 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006978/0.9224, allocations: 249.2 kB / 1.097 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.9224, allocations: 5.156 kB / 1.097 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.9224, allocations: 1.672 kB / 1.097 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.9225, allocations: 2.781 kB / 1.097 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.9227, allocations: 52.88 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.9228, allocations: 2.641 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.9229, allocations: 25.56 kB / 1.097 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.923, allocations: 6.422 kB / 1.097 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003017/0.9233, allocations: 177.8 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000236/0.9235, allocations: 122.5 kB / 1.097 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003925/0.9239, allocations: 178.8 kB / 1.098 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.886e-06/0.9239, allocations: 5.484 kB / 1.098 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000512/0.9245, allocations: 237.2 kB / 1.098 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.9245, allocations: 5.859 kB / 1.098 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-06/0.9245, allocations: 1.062 kB / 1.098 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.457e-06/0.9245, allocations: 2.156 kB / 1.098 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.9247, allocations: 44.23 kB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.9247, allocations: 10.34 kB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.9249, allocations: 24.02 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.9249, allocations: 5.281 kB / 1.098 GB, free: 14.8 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.0001344/0.925, allocations: 197 kB / 1.098 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.457e-05/0.9251, allocations: 22.28 kB / 1.098 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006851/0.9258, allocations: 217.8 kB / 1.098 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.9258, allocations: 6.547 kB / 1.098 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.9258, allocations: 1.094 kB / 1.098 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.9258, allocations: 0.7031 kB / 1.098 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.927, allocations: 0.6277 MB / 1.099 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.927, allocations: 4.719 kB / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.9272, allocations: 43.11 kB / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.9272, allocations: 0 / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.9272, allocations: 2.672 kB / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.9272, allocations: 1.562 kB / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.9272, allocations: 0 / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008369/0.9281, allocations: 392.6 kB / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.793e-05/0.9282, allocations: 105.2 kB / 1.099 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.9282, allocations: 9.922 kB / 1.099 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.9284, allocations: 19.45 kB / 1.099 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.935e-05/0.9285, allocations: 9.188 kB / 1.1 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.9285, allocations: 9.609 kB / 1.1 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002866/0.9288, allocations: 201.9 kB / 1.1 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9288, allocations: 1 kB / 1.1 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004926/0.9293, allocations: 86.27 kB / 1.1 GB, free: 13.52 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.0001771/0.9295, allocations: 103.4 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008284/0.9303, allocations: 282.3 kB / 1.1 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.9303, allocations: 0.8125 kB / 1.1 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002405/0.9306, allocations: 84.31 kB / 1.1 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.931, allocations: 37.55 kB / 1.1 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.9321, allocations: 472.4 kB / 1.101 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.9325, allocations: 0.7582 MB / 1.101 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001448/0.9327, allocations: 28.22 kB / 1.101 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.475e-05/0.9328, allocations: 27.2 kB / 1.102 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of SimCode: time 3.61e-07/0.9328, allocations: 0 / 1.102 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of Templates: time 0.007528/0.9403, allocations: 2.277 MB / 1.104 GB, free: 12.12 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/jenkins/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