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.0009506/0.0009507, allocations: 97.72 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.006988/0.006988, allocations: 169.4 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.42/1.42, allocations: 223.3 MB / 240.3 MB, free: 5.27 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.704/2.704, allocations: 443.3 MB / 0.7175 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003015, allocations: 8.812 kB / 0.8796 GB, free: 41.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2666, allocations: 155.2 MB / 1.031 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002553/0.2693, allocations: 1.876 MB / 1.033 GB, free: 2.426 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009734/0.2702, allocations: 0.5062 MB / 1.033 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.2704, allocations: 4 kB / 1.033 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.2706, allocations: 31.72 kB / 1.033 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.2707, allocations: 31.73 kB / 1.034 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.271, allocations: 127.8 kB / 1.034 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003122/0.2713, allocations: 332.2 kB / 1.034 GB, free: 1.398 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002786/0.2716, allocations: 161.1 kB / 1.034 GB, free: 1.238 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.2717, allocations: 83.5 kB / 1.034 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.2718, allocations: 95.36 kB / 1.034 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.2719, allocations: 12 kB / 1.034 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.092e-05/0.2719, allocations: 8 kB / 1.034 GB, free: 1.043 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.245e-05/0.272, allocations: 43.72 kB / 1.034 GB, free: 1 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.2721, allocations: 136.9 kB / 1.034 GB, free: 0.8594 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000315/0.2724, allocations: 422.7 kB / 1.035 GB, free: 456 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2724, allocations: 4 kB / 1.035 GB, free: 452 kB / 0.7794 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2724, allocations: 0 / 1.035 GB, free: 452 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2724, allocations: 0 / 1.035 GB, free: 452 kB / 0.7794 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.0009012/0.2733, allocations: 0.5653 MB / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.2734, allocations: 15.97 kB / 1.035 GB, free: 15.81 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.968e-05/0.2734, allocations: 36.47 kB / 1.035 GB, free: 15.77 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.2739, allocations: 311.5 kB / 1.036 GB, free: 15.43 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.2739, allocations: 16.94 kB / 1.036 GB, free: 15.41 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.8e-05/0.274, allocations: 28.36 kB / 1.036 GB, free: 15.38 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005456/0.2745, allocations: 296.2 kB / 1.036 GB, free: 15.09 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.2745, allocations: 7.875 kB / 1.036 GB, free: 15.08 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.2746, allocations: 8 kB / 1.036 GB, free: 15.07 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.2746, allocations: 8 kB / 1.036 GB, free: 15.06 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005194/0.2751, allocations: 226.1 kB / 1.036 GB, free: 14.84 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.2765, allocations: 0.9936 MB / 1.037 GB, free: 13.79 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004897/0.277, allocations: 283.9 kB / 1.038 GB, free: 13.48 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/0.2772, allocations: 112.8 kB / 1.038 GB, free: 13.37 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.2773, allocations: 7.938 kB / 1.038 GB, free: 13.36 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.2773, allocations: 34.56 kB / 1.038 GB, free: 13.32 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.2773, allocations: 0 / 1.038 GB, free: 13.32 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.0007405/0.278, allocations: 283.6 kB / 1.038 GB, free: 13.04 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.2781, allocations: 59.34 kB / 1.038 GB, free: 12.96 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.2784, allocations: 270.7 kB / 1.038 GB, free: 12.69 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.2784, allocations: 29.7 kB / 1.038 GB, free: 12.65 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.2785, allocations: 180 kB / 1.038 GB, free: 12.47 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.981e-05/0.2786, allocations: 47.27 kB / 1.039 GB, free: 12.43 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.2786, allocations: 29.7 kB / 1.039 GB, free: 12.39 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2787, allocations: 330.8 kB / 1.039 GB, free: 12.06 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.279, allocations: 83.95 kB / 1.039 GB, free: 11.98 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.2792, allocations: 129.1 kB / 1.039 GB, free: 11.83 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004515/0.2797, allocations: 209.9 kB / 1.039 GB, free: 11.61 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2797, allocations: 0 / 1.039 GB, free: 11.61 MB / 0.795 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005692/0.2802, allocations: 261.2 kB / 1.04 GB, free: 11.35 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.062e-05/0.2803, allocations: 129.8 kB / 1.04 GB, free: 11.21 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.2803, allocations: 0 / 1.04 GB, free: 11.21 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.2803, allocations: 0 / 1.04 GB, free: 11.21 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.2806, allocations: 51.91 kB / 1.04 GB, free: 11.16 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2806, allocations: 0 / 1.04 GB, free: 11.16 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.2808, allocations: 35.67 kB / 1.04 GB, free: 11.12 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.2808, allocations: 15.94 kB / 1.04 GB, free: 11.11 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.2808, allocations: 4 kB / 1.04 GB, free: 11.1 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000434/0.2813, allocations: 207.8 kB / 1.04 GB, free: 10.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-06/0.2813, allocations: 3.938 kB / 1.04 GB, free: 10.89 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.767e-06/0.2813, allocations: 4 kB / 1.04 GB, free: 10.89 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.2815, allocations: 43.91 kB / 1.04 GB, free: 10.85 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.2815, allocations: 4 kB / 1.04 GB, free: 10.84 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.2816, allocations: 27.83 kB / 1.04 GB, free: 10.82 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.2816, allocations: 8.031 kB / 1.04 GB, free: 10.81 MB / 0.795 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.0001599/0.2818, allocations: 222.6 kB / 1.04 GB, free: 10.58 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.2819, allocations: 35.64 kB / 1.04 GB, free: 10.55 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000554/0.2824, allocations: 233.2 kB / 1.041 GB, free: 10.32 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.2824, allocations: 4 kB / 1.041 GB, free: 10.32 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2824, allocations: 0 / 1.041 GB, free: 10.32 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2824, allocations: 0 / 1.041 GB, free: 10.32 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009134/0.2834, allocations: 0.6435 MB / 1.041 GB, free: 9.617 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.2834, allocations: 4.062 kB / 1.041 GB, free: 9.613 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.2836, allocations: 35.97 kB / 1.041 GB, free: 9.578 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2836, allocations: 0 / 1.041 GB, free: 9.578 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.2836, allocations: 12 kB / 1.041 GB, free: 9.566 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2836, allocations: 3.938 kB / 1.041 GB, free: 9.562 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2836, allocations: 0 / 1.041 GB, free: 9.562 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007535/0.2844, allocations: 420.5 kB / 1.042 GB, free: 9.137 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-05/0.2845, allocations: 104.8 kB / 1.042 GB, free: 9.016 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.2845, allocations: 0 / 1.042 GB, free: 9.016 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.2847, allocations: 24.05 kB / 1.042 GB, free: 8.992 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.2847, allocations: 11.98 kB / 1.042 GB, free: 8.98 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.2847, allocations: 8 kB / 1.042 GB, free: 8.973 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001796/0.2849, allocations: 194 kB / 1.042 GB, free: 8.781 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2849, allocations: 0 / 1.042 GB, free: 8.781 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003791/0.2853, allocations: 87.62 kB / 1.042 GB, free: 8.695 MB / 0.795 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.0001128/0.2854, allocations: 103.2 kB / 1.042 GB, free: 8.582 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007338/0.2862, allocations: 309.6 kB / 1.042 GB, free: 8.281 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2862, allocations: 0 / 1.042 GB, free: 8.281 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.2864, allocations: 91.89 kB / 1.042 GB, free: 8.191 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.2868, allocations: 36.73 kB / 1.043 GB, free: 8.156 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008214/0.2877, allocations: 0.5775 MB / 1.043 GB, free: 7.551 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.288, allocations: 0.7599 MB / 1.044 GB, free: 6.762 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001243/0.2881, allocations: 29.92 kB / 1.044 GB, free: 6.734 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.689e-05/0.2882, allocations: 27.42 kB / 1.044 GB, free: 6.707 MB / 0.795 GB Notification: Performance of SimCode: time 3.7e-07/0.2882, allocations: 0 / 1.044 GB, free: 6.707 MB / 0.795 GB Notification: Performance of Templates: time 0.005093/0.2933, allocations: 2.09 MB / 1.046 GB, free: 4.645 MB / 0.795 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