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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001347/0.001347, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001725/0.001726, allocations: 194 kB / 16.53 MB, free: 6.391 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.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.719/2.719, allocations: 472.6 MB / 0.7452 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 69.58 kB / 0.9121 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3325, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003588/0.3361, allocations: 2.205 MB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009109/0.3371, allocations: 0.5335 MB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.3372, allocations: 12 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.3374, allocations: 43.47 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.3375, allocations: 43.59 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.3378, allocations: 135.8 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003148/0.3382, allocations: 364.2 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000298/0.3385, allocations: 189.1 kB / 1.072 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.3386, allocations: 131.5 kB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.3388, allocations: 131.3 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.61e-05/0.3388, allocations: 40 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.821e-05/0.3389, allocations: 43.94 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.073e-05/0.3389, allocations: 79.75 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.3391, allocations: 155.2 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003636/0.3394, allocations: 458.8 kB / 1.073 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3394, allocations: 7.984 kB / 1.073 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3395, allocations: 0 / 1.073 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.208e-06/0.3395, allocations: 0 / 1.073 GB, free: 5.852 MB / 0.8262 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.0009255/0.3404, allocations: 0.604 MB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.3404, allocations: 12.03 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.807e-05/0.3405, allocations: 40.55 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.3409, allocations: 307.4 kB / 1.074 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.3409, allocations: 20.94 kB / 1.074 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.171e-05/0.341, allocations: 24.38 kB / 1.074 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005099/0.3415, allocations: 292.1 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3415, allocations: 3.938 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.3415, allocations: 16 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.986e-06/0.3416, allocations: 8 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004856/0.3421, allocations: 198.1 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.3435, allocations: 0.9857 MB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/0.3439, allocations: 271.9 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.3442, allocations: 107.8 kB / 1.075 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.3443, allocations: 7.984 kB / 1.075 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.3443, allocations: 34.56 kB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.263e-06/0.3443, allocations: 0 / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0007013/0.345, allocations: 263.3 kB / 1.076 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.345, allocations: 51.41 kB / 1.076 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.3453, allocations: 270.7 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.3453, allocations: 33.7 kB / 1.076 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.3455, allocations: 176.1 kB / 1.076 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.292e-05/0.3455, allocations: 51.19 kB / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.008e-05/0.3456, allocations: 49.61 kB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3458, allocations: 330.8 kB / 1.077 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.346, allocations: 84.81 kB / 1.077 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.3462, allocations: 119.5 kB / 1.077 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/0.3466, allocations: 193.7 kB / 1.077 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3467, allocations: 0 / 1.077 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005632/0.3472, allocations: 259.5 kB / 1.077 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3473, allocations: 4 kB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.3473, allocations: 4 kB / 1.077 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3473, allocations: 3.938 kB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.3475, allocations: 43.91 kB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.3475, allocations: 4 kB / 1.077 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.3477, allocations: 27.77 kB / 1.077 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.3477, allocations: 8 kB / 1.077 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002522/0.348, allocations: 185.9 kB / 1.078 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002078/0.3482, allocations: 113 kB / 1.078 GB, free: 420 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003568/0.3486, allocations: 180.2 kB / 1.078 GB, free: 224 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.965e-06/0.3486, allocations: 4 kB / 1.078 GB, free: 220 kB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004603/0.349, allocations: 243.2 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.3491, allocations: 8 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-06/0.3491, allocations: 0 / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-06/0.3491, allocations: 0 / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.3493, allocations: 47.91 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3493, allocations: 4 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.3494, allocations: 23.83 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.3494, allocations: 7.938 kB / 1.078 GB, free: 15.88 MB / 0.8419 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.0001335/0.3496, allocations: 196.2 kB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.811e-05/0.3496, allocations: 23.72 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005173/0.3502, allocations: 217.2 kB / 1.079 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.3502, allocations: 4 kB / 1.079 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.3502, allocations: 0 / 1.079 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.3502, allocations: 7.984 kB / 1.079 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008712/0.3511, allocations: 0.623 MB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3511, allocations: 0 / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.3513, allocations: 35.97 kB / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3513, allocations: 0 / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.3513, allocations: 4 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.124e-05/0.3513, allocations: 8 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3513, allocations: 3.984 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007291/0.3521, allocations: 392.8 kB / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.035e-05/0.3521, allocations: 100.9 kB / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.3522, allocations: 4.062 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.3523, allocations: 15.98 kB / 1.08 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.3524, allocations: 7.984 kB / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.3524, allocations: 19.92 kB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001707/0.3526, allocations: 197.9 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3526, allocations: 0 / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003645/0.353, allocations: 83.59 kB / 1.08 GB, free: 13.87 MB / 0.8419 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.0001218/0.3531, allocations: 119.7 kB / 1.08 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00073/0.3538, allocations: 275.7 kB / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3538, allocations: 0 / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.354, allocations: 89.48 kB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.3545, allocations: 42.3 kB / 1.081 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008398/0.3554, allocations: 480.2 kB / 1.081 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.3557, allocations: 0.7558 MB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001161/0.3558, allocations: 33.92 kB / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.29e-05/0.3558, allocations: 19.44 kB / 1.082 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.3559, allocations: 0 / 1.082 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of Templates: time 0.005518/0.3614, allocations: 2.292 MB / 1.084 GB, free: 9.746 MB / 0.8419 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/jenkins/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