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.001207/0.001207, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001351/0.001351, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.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.286/2.286, allocations: 390.9 MB / 0.666 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002979/0.0002979, allocations: 8 kB / 0.8154 GB, free: 13.59 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5798/0.5802, allocations: 142.4 MB / 0.9544 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.001784/0.582, allocations: 1.809 MB / 0.9562 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007778/0.5828, allocations: 496.6 kB / 0.9567 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.5829, allocations: 4.031 kB / 0.9567 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.583, allocations: 35.19 kB / 0.9567 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.239e-05/0.5831, allocations: 22.89 kB / 0.9567 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.5834, allocations: 83.59 kB / 0.9568 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002787/0.5837, allocations: 312.2 kB / 0.9571 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/0.5839, allocations: 120.5 kB / 0.9572 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.584, allocations: 76.31 kB / 0.9573 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.5841, allocations: 98.64 kB / 0.9574 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.033e-05/0.5842, allocations: 7.5 kB / 0.9574 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.98e-05/0.5842, allocations: 12.28 kB / 0.9574 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.948e-05/0.5843, allocations: 35.34 kB / 0.9575 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.604e-05/0.5843, allocations: 75.14 kB / 0.9575 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.5846, allocations: 367.1 kB / 0.9579 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5846, allocations: 0 / 0.9579 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5846, allocations: 0 / 0.9579 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.5846, allocations: 0 / 0.9579 GB, free: 5.074 MB / 0.7169 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.0007883/0.5854, allocations: 0.565 MB / 0.9584 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.5854, allocations: 9.875 kB / 0.9584 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.5855, allocations: 43.98 kB / 0.9585 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.5858, allocations: 311.7 kB / 0.9588 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.5859, allocations: 18.81 kB / 0.9588 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.398e-05/0.5859, allocations: 23.41 kB / 0.9588 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005059/0.5864, allocations: 286.5 kB / 0.9591 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.5865, allocations: 1.375 kB / 0.9591 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.5865, allocations: 10.75 kB / 0.9591 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.5865, allocations: 9.5 kB / 0.9591 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004526/0.587, allocations: 228.3 kB / 0.9593 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.5881, allocations: 0.9987 MB / 0.9603 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004171/0.5885, allocations: 272.5 kB / 0.9606 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.5888, allocations: 120.7 kB / 0.9607 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.5888, allocations: 1.969 kB / 0.9607 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.5888, allocations: 32.56 kB / 0.9607 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.5888, allocations: 0 / 0.9607 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0006658/0.5895, allocations: 281.1 kB / 0.961 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.5896, allocations: 61.06 kB / 0.961 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.5898, allocations: 269.7 kB / 0.9613 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.5898, allocations: 30.8 kB / 0.9613 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/0.5899, allocations: 179.7 kB / 0.9615 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.59, allocations: 58.41 kB / 0.9615 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/0.59, allocations: 5 kB / 0.9616 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.49e-05/0.59, allocations: 331.8 kB / 0.9619 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.5902, allocations: 86.8 kB / 0.962 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.5905, allocations: 121.1 kB / 0.9621 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.5907, allocations: 93.53 kB / 0.9622 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5907, allocations: 0 / 0.9622 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004848/0.5912, allocations: 261 kB / 0.9624 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.462e-05/0.5912, allocations: 127.2 kB / 0.9625 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.5912, allocations: 1.031 kB / 0.9625 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.5912, allocations: 3.094 kB / 0.9625 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.5915, allocations: 47.47 kB / 0.9626 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.5915, allocations: 2.25 kB / 0.9626 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.5917, allocations: 37.39 kB / 0.9626 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.5917, allocations: 10.36 kB / 0.9626 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.073e-06/0.5917, allocations: 4.719 kB / 0.9626 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003774/0.5921, allocations: 207.4 kB / 0.9628 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.5921, allocations: 2.375 kB / 0.9628 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.027e-06/0.5921, allocations: 2.312 kB / 0.9628 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.5923, allocations: 42.78 kB / 0.9629 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.5923, allocations: 6.438 kB / 0.9629 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.5924, allocations: 32.36 kB / 0.9629 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.5924, allocations: 5.625 kB / 0.9629 GB, free: 1.18 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.5926, allocations: 223.4 kB / 0.9631 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.674e-05/0.5926, allocations: 26.91 kB / 0.9632 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004879/0.5931, allocations: 233.3 kB / 0.9634 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.5931, allocations: 5.047 kB / 0.9634 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.5931, allocations: 1.125 kB / 0.9634 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.5931, allocations: 0 / 0.9634 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007484/0.5939, allocations: 0.6378 MB / 0.964 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5939, allocations: 7.938 kB / 0.964 GB, free: 280 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.5941, allocations: 47.12 kB / 0.9641 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5941, allocations: 0 / 0.9641 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.5941, allocations: 11.92 kB / 0.9641 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.5941, allocations: 0 / 0.9641 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5941, allocations: 0 / 0.9641 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000659/0.5948, allocations: 420 kB / 0.9645 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.511e-05/0.5949, allocations: 106.7 kB / 0.9646 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.5949, allocations: 5.312 kB / 0.9646 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.5951, allocations: 15.36 kB / 0.9646 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.5952, allocations: 17.94 kB / 0.9646 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.5952, allocations: 3.344 kB / 0.9646 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002069/0.5954, allocations: 191 kB / 0.9648 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5954, allocations: 0 / 0.9648 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004393/0.5958, allocations: 90.48 kB / 0.9649 GB, free: 15.67 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001148/0.596, allocations: 105.1 kB / 0.965 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007721/0.5967, allocations: 300.5 kB / 0.9653 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5968, allocations: 1.281 kB / 0.9653 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.597, allocations: 94.3 kB / 0.9654 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.5974, allocations: 41.19 kB / 0.9654 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009899/0.5984, allocations: 0.5406 MB / 0.9659 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.5988, allocations: 0.7576 MB / 0.9667 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001587/0.599, allocations: 29.16 kB / 0.9667 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.194e-05/0.599, allocations: 20.38 kB / 0.9667 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.5991, allocations: 1 kB / 0.9667 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of Templates: time 0.006076/0.6051, allocations: 2.04 MB / 0.9687 GB, free: 13.23 MB / 0.7325 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