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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008497/0.0008495, allocations: 98.88 kB / 16.02 MB, free: 76 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.001035/0.001035, allocations: 182.5 kB / 16.92 MB, free: 6.918 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.337/1.337, allocations: 223.3 MB / 241 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.656/2.656, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003721, allocations: 13.03 kB / 0.9034 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2936, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002344/0.296, allocations: 1.882 MB / 1.061 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009891/0.297, allocations: 0.4946 MB / 1.062 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.2972, allocations: 4 kB / 1.062 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.2974, allocations: 39.66 kB / 1.062 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.2975, allocations: 27.72 kB / 1.062 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.2978, allocations: 123.9 kB / 1.062 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000322/0.2981, allocations: 328.2 kB / 1.062 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002813/0.2984, allocations: 181 kB / 1.062 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.2985, allocations: 79.52 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.2987, allocations: 103.3 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.2987, allocations: 8 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.535e-05/0.2987, allocations: 8 kB / 1.063 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.157e-05/0.2988, allocations: 35.78 kB / 1.063 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.2989, allocations: 144.9 kB / 1.063 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000307/0.2992, allocations: 359.3 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2992, allocations: 0 / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2992, allocations: 4 kB / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2993, allocations: 0 / 1.063 GB, free: 1.164 MB / 0.8106 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.0008968/0.3002, allocations: 0.5691 MB / 1.064 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.3002, allocations: 8.031 kB / 1.064 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.76e-05/0.3003, allocations: 32.56 kB / 1.064 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/0.3007, allocations: 331.3 kB / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.3007, allocations: 20.88 kB / 1.064 GB, free: 124 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.795e-05/0.3008, allocations: 24.38 kB / 1.064 GB, free: 100 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005754/0.3014, allocations: 284.2 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3014, allocations: 7.938 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.3014, allocations: 12 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.3014, allocations: 8 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005344/0.302, allocations: 222.1 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.3034, allocations: 0.9897 MB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004838/0.3039, allocations: 283.9 kB / 1.066 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/0.3042, allocations: 116.8 kB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.3042, allocations: 4 kB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.3043, allocations: 34.5 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.684e-06/0.3043, allocations: 0 / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0007426/0.305, allocations: 279.9 kB / 1.066 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.3051, allocations: 55.41 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.3054, allocations: 266.7 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.3054, allocations: 37.7 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.3055, allocations: 172.1 kB / 1.067 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.3056, allocations: 63.17 kB / 1.067 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.3056, allocations: 21.72 kB / 1.067 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3058, allocations: 338.8 kB / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.306, allocations: 79.95 kB / 1.067 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.3062, allocations: 129 kB / 1.067 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004605/0.3067, allocations: 213.5 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3067, allocations: 0 / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005633/0.3073, allocations: 262.7 kB / 1.068 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.649e-05/0.3074, allocations: 116.4 kB / 1.068 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3074, allocations: 4 kB / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3074, allocations: 4.031 kB / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.3076, allocations: 47.97 kB / 1.068 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3077, allocations: 7.984 kB / 1.068 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.3078, allocations: 31.73 kB / 1.068 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.3079, allocations: 27.81 kB / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.615e-06/0.3079, allocations: 4 kB / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004374/0.3083, allocations: 205.3 kB / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-06/0.3083, allocations: 0 / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-06/0.3083, allocations: 4.125 kB / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.3085, allocations: 51.91 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.3086, allocations: 4 kB / 1.068 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.3087, allocations: 23.83 kB / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.3087, allocations: 8 kB / 1.068 GB, free: 11.53 MB / 0.8262 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.0001713/0.3089, allocations: 221.1 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.897e-05/0.3089, allocations: 31.66 kB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005592/0.3095, allocations: 228.9 kB / 1.069 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.3095, allocations: 4 kB / 1.069 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3095, allocations: 3.938 kB / 1.069 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3095, allocations: 3.984 kB / 1.069 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000937/0.3105, allocations: 0.6387 MB / 1.069 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.3105, allocations: 4 kB / 1.069 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.3107, allocations: 39.91 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3107, allocations: 0 / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.3107, allocations: 4 kB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3107, allocations: 0 / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.3107, allocations: 3.984 kB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000758/0.3115, allocations: 420.9 kB / 1.07 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.874e-05/0.3116, allocations: 100.9 kB / 1.07 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.3116, allocations: 0 / 1.07 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.3118, allocations: 19.98 kB / 1.07 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.3119, allocations: 20.03 kB / 1.07 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.3119, allocations: 4 kB / 1.07 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001904/0.3121, allocations: 194 kB / 1.07 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3121, allocations: 0 / 1.07 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004087/0.3125, allocations: 87.62 kB / 1.07 GB, free: 9.43 MB / 0.8262 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.0001149/0.3126, allocations: 107.1 kB / 1.07 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007403/0.3134, allocations: 305.2 kB / 1.071 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3134, allocations: 0 / 1.071 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.3136, allocations: 93.77 kB / 1.071 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.3141, allocations: 41.59 kB / 1.071 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009218/0.315, allocations: 0.6122 MB / 1.071 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.3153, allocations: 0.756 MB / 1.072 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.633e-05/0.3154, allocations: 27.44 kB / 1.072 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of SimCode: time 5.21e-07/0.3154, allocations: 0 / 1.072 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of Templates: time 0.004951/0.3204, allocations: 3.089 MB / 1.075 GB, free: 4.348 MB / 0.8262 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