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.001126/0.001126, allocations: 113 kB / 16.42 MB, free: 6.469 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.001182/0.001182, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.636/2.636, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 64.12 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7848/0.7862, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003848/0.7901, allocations: 2.203 MB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.7912, allocations: 0.5219 MB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002633/0.7915, allocations: 7.938 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.7917, allocations: 43.53 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.7919, allocations: 51.53 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.7923, allocations: 135.8 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004096/0.7927, allocations: 368.2 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003/0.793, allocations: 177.1 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.7932, allocations: 139.4 kB / 1.212 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.7934, allocations: 135.3 kB / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.316e-05/0.7935, allocations: 40 kB / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.963e-05/0.7936, allocations: 40 kB / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.343e-05/0.7936, allocations: 79.7 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.7938, allocations: 155.2 kB / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004533/0.7942, allocations: 474.2 kB / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.7943, allocations: 0 / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7943, allocations: 0 / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.7943, allocations: 0 / 1.213 GB, free: 9.031 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.001044/0.7953, allocations: 0.6098 MB / 1.213 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.7954, allocations: 8.031 kB / 1.213 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.402e-05/0.7955, allocations: 40.55 kB / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000477/0.7959, allocations: 323.4 kB / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.796, allocations: 20.88 kB / 1.214 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.721e-05/0.796, allocations: 24.38 kB / 1.214 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005542/0.7966, allocations: 284.2 kB / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.7966, allocations: 7.938 kB / 1.214 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.7966, allocations: 8 kB / 1.214 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.7967, allocations: 8 kB / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005248/0.7972, allocations: 210.1 kB / 1.214 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.7986, allocations: 0.9663 MB / 1.215 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004808/0.7991, allocations: 274.6 kB / 1.216 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.7994, allocations: 112.8 kB / 1.216 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.7994, allocations: 4 kB / 1.216 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.7994, allocations: 30.56 kB / 1.216 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.054e-06/0.7995, allocations: 0 / 1.216 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0006909/0.8001, allocations: 257.2 kB / 1.216 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.8002, allocations: 59.41 kB / 1.216 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.8005, allocations: 266.7 kB / 1.216 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.8005, allocations: 29.7 kB / 1.216 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.8006, allocations: 180 kB / 1.216 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.362e-05/0.8007, allocations: 63.12 kB / 1.216 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.686e-05/0.8008, allocations: 45.61 kB / 1.217 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.8009, allocations: 330.8 kB / 1.217 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.8011, allocations: 84.81 kB / 1.217 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.8014, allocations: 118.9 kB / 1.217 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004744/0.8018, allocations: 190.2 kB / 1.217 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.8019, allocations: 3.938 kB / 1.217 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005319/0.8024, allocations: 255.6 kB / 1.217 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.8024, allocations: 4 kB / 1.217 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.8024, allocations: 0 / 1.217 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.8025, allocations: 4 kB / 1.217 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.8027, allocations: 43.91 kB / 1.218 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.8027, allocations: 7.984 kB / 1.218 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.8029, allocations: 23.97 kB / 1.218 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.8029, allocations: 11.98 kB / 1.218 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002492/0.8032, allocations: 172.1 kB / 1.218 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001896/0.8034, allocations: 121 kB / 1.218 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003405/0.8037, allocations: 176.2 kB / 1.218 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.8037, allocations: 0 / 1.218 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004527/0.8042, allocations: 247 kB / 1.218 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/0.8042, allocations: 4 kB / 1.218 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-06/0.8042, allocations: 4 kB / 1.218 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-06/0.8042, allocations: 0 / 1.218 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.8044, allocations: 47.97 kB / 1.218 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.8044, allocations: 15.92 kB / 1.218 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.8046, allocations: 23.83 kB / 1.218 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.8046, allocations: 12.11 kB / 1.218 GB, free: 3.047 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.0001129/0.8047, allocations: 192.1 kB / 1.219 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.8048, allocations: 23.72 kB / 1.219 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005264/0.8053, allocations: 221.1 kB / 1.219 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.8053, allocations: 0 / 1.219 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.8053, allocations: 4 kB / 1.219 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.8055, allocations: 104.8 kB / 1.219 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.8055, allocations: 3.984 kB / 1.219 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.8057, allocations: 15.98 kB / 1.219 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.8057, allocations: 15.92 kB / 1.219 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005886/0.8063, allocations: 292.6 kB / 1.219 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007291/0.8071, allocations: 468.1 kB / 1.22 GB, free: 1.684 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002019/0.8073, allocations: 89.88 kB / 1.22 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001879/0.8075, allocations: 190 kB / 1.22 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of Backend: time 4.31e-07/0.8075, allocations: 0 / 1.22 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008574/0.8084, allocations: 306.4 kB / 1.22 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of SimCode: time 0.001051/0.8094, allocations: 0.8925 MB / 1.221 GB, free: 172 kB / 0.9356 GB Notification: Performance of Templates: time 0.007033/0.8165, allocations: 3.369 MB / 1.224 GB, free: 12.82 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