Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001688/0.001688, allocations: 107 kB / 16.41 MB, free: 6.508 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.00185/0.00185, allocations: 187 kB / 17.34 MB, free: 5.742 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.479/1.479, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.694/2.694, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 63.91 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.79/0.7916, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003213/0.7949, allocations: 2.205 MB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009596/0.7959, allocations: 0.5374 MB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.7961, allocations: 4 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.7962, allocations: 47.47 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.7964, allocations: 39.59 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.7967, allocations: 139.8 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003472/0.797, allocations: 372.2 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002912/0.7973, allocations: 177.1 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.7975, allocations: 127.5 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.7977, allocations: 135.3 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.88e-05/0.7977, allocations: 40 kB / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.516e-05/0.7978, allocations: 44 kB / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.318e-05/0.7979, allocations: 83.75 kB / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.798, allocations: 155.1 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000429/0.7984, allocations: 478.2 kB / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.507e-05/0.7985, allocations: 0 / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7985, allocations: 0 / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.7985, allocations: 3.938 kB / 1.213 GB, free: 9.051 MB / 0.9356 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.0009336/0.7994, allocations: 0.6098 MB / 1.213 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.7995, allocations: 8.031 kB / 1.213 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.97e-05/0.7995, allocations: 32.56 kB / 1.213 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004537/0.8, allocations: 319.3 kB / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.8, allocations: 20.94 kB / 1.214 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.489e-05/0.8001, allocations: 28.38 kB / 1.214 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/0.8006, allocations: 284.2 kB / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.8006, allocations: 3.938 kB / 1.214 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.8007, allocations: 12 kB / 1.214 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.8007, allocations: 4 kB / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004936/0.8012, allocations: 210.1 kB / 1.214 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.8026, allocations: 0.9741 MB / 1.215 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004858/0.8031, allocations: 268 kB / 1.216 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.8033, allocations: 108.8 kB / 1.216 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.8034, allocations: 3.938 kB / 1.216 GB, free: 6 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.8034, allocations: 34.56 kB / 1.216 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.8034, allocations: 4 kB / 1.216 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0007023/0.8041, allocations: 253.2 kB / 1.216 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.8042, allocations: 55.41 kB / 1.216 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.8044, allocations: 270.7 kB / 1.216 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.8045, allocations: 29.7 kB / 1.216 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.8046, allocations: 184 kB / 1.216 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.024e-05/0.8046, allocations: 55.19 kB / 1.216 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.51e-05/0.8047, allocations: 45.61 kB / 1.217 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.8048, allocations: 338.8 kB / 1.217 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.8051, allocations: 80.75 kB / 1.217 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.8053, allocations: 125 kB / 1.217 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004164/0.8057, allocations: 193.3 kB / 1.217 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8057, allocations: 0 / 1.217 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005195/0.8063, allocations: 247.2 kB / 1.217 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.8063, allocations: 8.125 kB / 1.217 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.8063, allocations: 4 kB / 1.217 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.8063, allocations: 7.984 kB / 1.217 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.8066, allocations: 39.97 kB / 1.218 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.8066, allocations: 4 kB / 1.218 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.8068, allocations: 23.83 kB / 1.218 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.8068, allocations: 7.938 kB / 1.218 GB, free: 3.922 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002519/0.807, allocations: 180.1 kB / 1.218 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001991/0.8072, allocations: 123 kB / 1.218 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003491/0.8076, allocations: 182.8 kB / 1.218 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.123e-06/0.8076, allocations: 0 / 1.218 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004465/0.8081, allocations: 241 kB / 1.218 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.487e-06/0.8081, allocations: 4 kB / 1.218 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-06/0.8081, allocations: 4.125 kB / 1.218 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-06/0.8081, allocations: 4 kB / 1.218 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.8083, allocations: 43.97 kB / 1.218 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.8083, allocations: 7.938 kB / 1.218 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.8084, allocations: 23.83 kB / 1.218 GB, free: 3.086 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.8084, allocations: 4 kB / 1.218 GB, free: 3.082 MB / 0.9356 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.0001163/0.8086, allocations: 188.3 kB / 1.219 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.884e-05/0.8086, allocations: 27.72 kB / 1.219 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005369/0.8092, allocations: 229.2 kB / 1.219 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.8092, allocations: 0 / 1.219 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.8092, allocations: 4 kB / 1.219 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.8092, allocations: 0 / 1.219 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009089/0.8101, allocations: 0.6291 MB / 1.219 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.8101, allocations: 0 / 1.219 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.8103, allocations: 35.91 kB / 1.219 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.8103, allocations: 4 kB / 1.219 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.8104, allocations: 4 kB / 1.219 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.8104, allocations: 3.938 kB / 1.219 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.8104, allocations: 3.984 kB / 1.219 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007383/0.8111, allocations: 395 kB / 1.22 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.006e-05/0.8112, allocations: 100.8 kB / 1.22 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.8112, allocations: 11.92 kB / 1.22 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.8114, allocations: 11.98 kB / 1.22 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.8115, allocations: 20.03 kB / 1.22 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.8115, allocations: 11.94 kB / 1.22 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000186/0.8117, allocations: 194 kB / 1.22 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8117, allocations: 0 / 1.22 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003814/0.8121, allocations: 83.69 kB / 1.22 GB, free: 1.055 MB / 0.9356 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.8122, allocations: 103.2 kB / 1.22 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006804/0.8129, allocations: 277.1 kB / 1.221 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.8129, allocations: 4 kB / 1.221 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.8131, allocations: 87.88 kB / 1.221 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.8135, allocations: 46.7 kB / 1.221 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008212/0.8143, allocations: 495.2 kB / 1.221 GB, free: 28 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.8147, allocations: 0.7597 MB / 1.222 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.865e-05/0.8148, allocations: 19.44 kB / 1.222 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.8148, allocations: 0 / 1.222 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of Templates: time 0.0049/0.8197, allocations: 3.168 MB / 1.225 GB, free: 12.07 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches