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.001441/0.001441, allocations: 104.8 kB / 15.99 MB, free: 5.883 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.001549/0.001549, allocations: 194.6 kB / 16.9 MB, free: 5.746 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.425/1.425, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.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.347/2.347, allocations: 390.2 MB / 0.665 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.25 kB / 0.8127 GB, free: 33.25 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3093, allocations: 140.4 MB / 0.9498 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.004195/0.3135, allocations: 2.262 MB / 0.952 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.3149, allocations: 0.5063 MB / 0.9525 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003448/0.3153, allocations: 8 kB / 0.9525 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.3155, allocations: 31.66 kB / 0.9525 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.3158, allocations: 31.78 kB / 0.9525 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000422/0.3162, allocations: 115.9 kB / 0.9527 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004742/0.3167, allocations: 360.2 kB / 0.953 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003266/0.3171, allocations: 185.1 kB / 0.9532 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/0.3173, allocations: 139.5 kB / 0.9533 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.3174, allocations: 135.3 kB / 0.9534 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.383e-05/0.3175, allocations: 40 kB / 0.9535 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.579e-05/0.3176, allocations: 40 kB / 0.9535 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.837e-05/0.3176, allocations: 75.77 kB / 0.9536 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.3178, allocations: 163.1 kB / 0.9537 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.3181, allocations: 375.4 kB / 0.9541 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.3181, allocations: 0 / 0.9541 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3182, allocations: 4 kB / 0.9541 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.3182, allocations: 4 kB / 0.9541 GB, free: 4.746 MB / 0.7325 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.001019/0.3192, allocations: 0.6003 MB / 0.9547 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.3192, allocations: 8.031 kB / 0.9547 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.826e-05/0.3193, allocations: 40.47 kB / 0.9547 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.3198, allocations: 315.3 kB / 0.955 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.3198, allocations: 20.94 kB / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.3198, allocations: 24.38 kB / 0.9551 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005511/0.3204, allocations: 284.2 kB / 0.9554 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3204, allocations: 7.938 kB / 0.9554 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.3205, allocations: 12 kB / 0.9554 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.3205, allocations: 11.94 kB / 0.9554 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004876/0.321, allocations: 210.1 kB / 0.9556 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.3223, allocations: 0.978 MB / 0.9565 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004574/0.3228, allocations: 275.9 kB / 0.9568 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.323, allocations: 100.8 kB / 0.9569 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.3231, allocations: 8 kB / 0.9569 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.3231, allocations: 34.56 kB / 0.9569 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.3231, allocations: 3.938 kB / 0.9569 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.0006877/0.3238, allocations: 263.8 kB / 0.9572 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.3239, allocations: 51.41 kB / 0.9572 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.3241, allocations: 274.6 kB / 0.9575 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.3242, allocations: 33.7 kB / 0.9575 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.3243, allocations: 176.1 kB / 0.9577 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/0.3243, allocations: 47.2 kB / 0.9577 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.49e-05/0.3244, allocations: 45.7 kB / 0.9578 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3245, allocations: 330.8 kB / 0.9581 GB, free: 396 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.3247, allocations: 84.81 kB / 0.9582 GB, free: 308 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.325, allocations: 123.3 kB / 0.9583 GB, free: 168 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004246/0.3254, allocations: 193.7 kB / 0.9585 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3254, allocations: 0 / 0.9585 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004932/0.3259, allocations: 251.2 kB / 0.9587 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.326, allocations: 4 kB / 0.9587 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.326, allocations: 4 kB / 0.9587 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.326, allocations: 0 / 0.9587 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.3262, allocations: 47.91 kB / 0.9588 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.3262, allocations: 0 / 0.9588 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.3264, allocations: 35.67 kB / 0.9588 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.3264, allocations: 4 kB / 0.9588 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002463/0.3267, allocations: 191 kB / 0.959 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001807/0.3269, allocations: 113 kB / 0.9591 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003317/0.3272, allocations: 184.2 kB / 0.9593 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-06/0.3272, allocations: 0 / 0.9593 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004221/0.3276, allocations: 243.8 kB / 0.9595 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/0.3277, allocations: 8 kB / 0.9595 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3277, allocations: 3.984 kB / 0.9595 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.192e-06/0.3277, allocations: 7.984 kB / 0.9595 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.3279, allocations: 43.92 kB / 0.9596 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-06/0.3279, allocations: 0 / 0.9596 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.328, allocations: 19.89 kB / 0.9596 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.328, allocations: 16 kB / 0.9596 GB, free: 14.76 MB / 0.7481 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.0001154/0.3281, allocations: 200.2 kB / 0.9598 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.3282, allocations: 19.72 kB / 0.9598 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005062/0.3287, allocations: 219.6 kB / 0.96 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3287, allocations: 4 kB / 0.96 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3287, allocations: 3.938 kB / 0.96 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3287, allocations: 4 kB / 0.96 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008734/0.3296, allocations: 0.6213 MB / 0.9607 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3296, allocations: 0 / 0.9607 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.3298, allocations: 39.91 kB / 0.9607 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3298, allocations: 0 / 0.9607 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.3299, allocations: 8 kB / 0.9607 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3299, allocations: 4 kB / 0.9607 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3299, allocations: 0 / 0.9607 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007093/0.3306, allocations: 393.2 kB / 0.9611 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.952e-05/0.3307, allocations: 104.8 kB / 0.9612 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.3307, allocations: 4.062 kB / 0.9612 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.3309, allocations: 15.98 kB / 0.9612 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.3309, allocations: 7.984 kB / 0.9612 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.331, allocations: 11.94 kB / 0.9612 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001828/0.3312, allocations: 198 kB / 0.9614 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3312, allocations: 3.938 kB / 0.9614 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003885/0.3316, allocations: 83.69 kB / 0.9615 GB, free: 12.75 MB / 0.7481 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.0001399/0.3317, allocations: 107.2 kB / 0.9616 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000688/0.3324, allocations: 287.6 kB / 0.9619 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3324, allocations: 0 / 0.9619 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.3326, allocations: 92.39 kB / 0.962 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004761/0.3331, allocations: 32.55 kB / 0.962 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008953/0.334, allocations: 0.5828 MB / 0.9626 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.3343, allocations: 0.7635 MB / 0.9633 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.602e-05/0.3344, allocations: 27.42 kB / 0.9633 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of SimCode: time 2.71e-07/0.3344, allocations: 0 / 0.9633 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of Templates: time 0.005711/0.3401, allocations: 3.144 MB / 0.9664 GB, free: 7.676 MB / 0.7481 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/jenkins1/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