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.0009418/0.0009419, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01073/0.01073, allocations: 169 kB / 16.26 MB, free: 6.652 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.525/1.525, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.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.44/2.44, allocations: 390.9 MB / 0.6663 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.000351, allocations: 12 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7001/0.7004, allocations: 142.4 MB / 0.9551 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002252/0.7027, allocations: 1.883 MB / 0.9569 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009462/0.7037, allocations: 0.4906 MB / 0.9574 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/0.7039, allocations: 4.5 kB / 0.9574 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.7041, allocations: 34.78 kB / 0.9574 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.7042, allocations: 34.64 kB / 0.9574 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.7044, allocations: 123.5 kB / 0.9576 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002881/0.7047, allocations: 328 kB / 0.9579 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002671/0.705, allocations: 167.4 kB / 0.958 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.7051, allocations: 83.33 kB / 0.9581 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.7053, allocations: 111 kB / 0.9582 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.7053, allocations: 7.594 kB / 0.9582 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.509e-05/0.7053, allocations: 8.688 kB / 0.9582 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.881e-05/0.7054, allocations: 38.91 kB / 0.9583 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.773e-05/0.7055, allocations: 139.1 kB / 0.9584 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.7058, allocations: 428.1 kB / 0.9588 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.7058, allocations: 0 / 0.9588 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7058, allocations: 0 / 0.9588 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.7058, allocations: 1.375 kB / 0.9588 GB, free: 4.621 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.0008232/0.7066, allocations: 0.5621 MB / 0.9594 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.7067, allocations: 8.938 kB / 0.9594 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.81e-05/0.7067, allocations: 37.81 kB / 0.9594 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.7071, allocations: 319.8 kB / 0.9597 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/0.7071, allocations: 19.5 kB / 0.9597 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.016e-05/0.7072, allocations: 24.34 kB / 0.9598 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005554/0.7077, allocations: 289.7 kB / 0.96 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.7078, allocations: 3.938 kB / 0.96 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.7078, allocations: 10.75 kB / 0.96 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.7078, allocations: 5.5 kB / 0.96 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005343/0.7084, allocations: 227.1 kB / 0.9603 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.7097, allocations: 0.9905 MB / 0.9612 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004797/0.7102, allocations: 277.5 kB / 0.9615 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.7104, allocations: 110.6 kB / 0.9616 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.7105, allocations: 5.953 kB / 0.9616 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.7105, allocations: 36.5 kB / 0.9616 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/0.7105, allocations: 0 / 0.9616 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0007754/0.7113, allocations: 294 kB / 0.9619 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.7113, allocations: 53.38 kB / 0.962 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.7116, allocations: 271.5 kB / 0.9622 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.7117, allocations: 30.86 kB / 0.9623 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.824e-05/0.7118, allocations: 179.6 kB / 0.9624 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.7118, allocations: 54.17 kB / 0.9625 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.7119, allocations: 23.92 kB / 0.9625 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.7119, allocations: 336 kB / 0.9628 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.7121, allocations: 84.86 kB / 0.9629 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.7124, allocations: 127.2 kB / 0.963 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004325/0.7128, allocations: 212.5 kB / 0.9632 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.7128, allocations: 0.9688 kB / 0.9632 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005177/0.7134, allocations: 255.3 kB / 0.9635 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.923e-05/0.7134, allocations: 132 kB / 0.9636 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.7134, allocations: 1.281 kB / 0.9636 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.7135, allocations: 2.438 kB / 0.9636 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.7137, allocations: 51.16 kB / 0.9637 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.7137, allocations: 2.625 kB / 0.9637 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.7139, allocations: 32.89 kB / 0.9637 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.7139, allocations: 13.34 kB / 0.9637 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.123e-06/0.7139, allocations: 4.469 kB / 0.9637 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004106/0.7143, allocations: 200 kB / 0.9639 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.7143, allocations: 1 kB / 0.9639 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5e-06/0.7144, allocations: 6.016 kB / 0.9639 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.7145, allocations: 50.88 kB / 0.964 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.7146, allocations: 2.094 kB / 0.964 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.7147, allocations: 28.48 kB / 0.964 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.7147, allocations: 9.688 kB / 0.964 GB, free: 0.6133 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.7148, allocations: 219.6 kB / 0.9642 GB, free: 412 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.7149, allocations: 30.58 kB / 0.9642 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005463/0.7154, allocations: 236 kB / 0.9645 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.7155, allocations: 1.375 kB / 0.9645 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.7155, allocations: 1.25 kB / 0.9645 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.7155, allocations: 0 / 0.9645 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009348/0.7164, allocations: 0.64 MB / 0.9651 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.7164, allocations: 1 kB / 0.9651 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.7166, allocations: 50.31 kB / 0.9651 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.7167, allocations: 0 / 0.9651 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.7167, allocations: 1.625 kB / 0.9651 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.7167, allocations: 1.062 kB / 0.9651 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.7167, allocations: 4.062 kB / 0.9651 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007721/0.7175, allocations: 418.2 kB / 0.9655 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-05/0.7176, allocations: 111.2 kB / 0.9656 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.7176, allocations: 1.406 kB / 0.9656 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.7178, allocations: 23.61 kB / 0.9657 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.7178, allocations: 9.609 kB / 0.9657 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.7178, allocations: 3.75 kB / 0.9657 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001904/0.718, allocations: 199.8 kB / 0.9659 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.718, allocations: 1.156 kB / 0.9659 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004036/0.7185, allocations: 81.78 kB / 0.9659 GB, free: 15.12 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 (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.0001385/0.7186, allocations: 109.6 kB / 0.9661 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007804/0.7194, allocations: 310 kB / 0.9663 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7194, allocations: 0.9688 kB / 0.9663 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002375/0.7196, allocations: 95.2 kB / 0.9664 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.7201, allocations: 37.73 kB / 0.9665 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009083/0.721, allocations: 0.5761 MB / 0.967 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.7213, allocations: 0.7576 MB / 0.9678 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001389/0.7215, allocations: 28.5 kB / 0.9678 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.026e-05/0.7216, allocations: 24.58 kB / 0.9678 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of SimCode: time 4.01e-07/0.7216, allocations: 0 / 0.9678 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of Templates: time 0.005397/0.727, allocations: 2.101 MB / 0.9699 GB, free: 12.62 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