Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 104.6 kB / 16.35 MB, free: 5.895 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.001151/0.001151, allocations: 192.3 kB / 17.29 MB, free: 5.527 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.429/2.429, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001337, allocations: 59.22 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2738, allocations: 151.6 MB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002132/0.2759, allocations: 1.267 MB / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003186/0.2792, allocations: 2.935 MB / 1.023 GB, free: 5.648 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.827e-05/0.2792, allocations: 3.938 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.2792, allocations: 4 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.064e-05/0.2793, allocations: 3.938 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.2797, allocations: 99.53 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.438e-05/0.2798, allocations: 39.91 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.696e-05/0.2799, allocations: 0 / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004143/0.2803, allocations: 159.5 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.008e-05/0.2803, allocations: 15.92 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.2804, allocations: 8 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.2805, allocations: 67.81 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.2805, allocations: 7.984 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.975e-05/0.2806, allocations: 11.94 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.2807, allocations: 71.78 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2808, allocations: 4 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2808, allocations: 0 / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2808, allocations: 0 / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003955/0.2812, allocations: 343.6 kB / 1.024 GB, free: 4.777 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.2812, allocations: 8.922 kB / 1.024 GB, free: 4.77 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.2813, allocations: 12.83 kB / 1.024 GB, free: 4.758 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.568e-05/0.2814, allocations: 164.3 kB / 1.024 GB, free: 4.559 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.2814, allocations: 4.375 kB / 1.024 GB, free: 4.555 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.2814, allocations: 8.375 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.2815, allocations: 61.72 kB / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.2815, allocations: 0 / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.2816, allocations: 3.938 kB / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2816, allocations: 0 / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.362e-05/0.2816, allocations: 23.98 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.2818, allocations: 165.7 kB / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.954e-05/0.2819, allocations: 50.5 kB / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.756e-05/0.2819, allocations: 13.09 kB / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006422/0.2826, allocations: 0.5985 MB / 1.025 GB, free: 3.461 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.2826, allocations: 34.56 kB / 1.025 GB, free: 3.418 MB / 0.795 GB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.2826, allocations: 0 / 1.025 GB, free: 3.418 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0005524/0.2832, allocations: 294.2 kB / 1.025 GB, free: 3.078 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.2832, allocations: 59.34 kB / 1.025 GB, free: 3.008 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.14e-05/0.2833, allocations: 101.8 kB / 1.025 GB, free: 2.898 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.2833, allocations: 29.7 kB / 1.025 GB, free: 2.863 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.863e-05/0.2834, allocations: 88.05 kB / 1.025 GB, free: 2.773 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.2834, allocations: 35.61 kB / 1.025 GB, free: 2.738 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.2835, allocations: 25.72 kB / 1.025 GB, free: 2.707 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.71e-05/0.2836, allocations: 314.8 kB / 1.026 GB, free: 2.391 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.052e-05/0.2836, allocations: 19.92 kB / 1.026 GB, free: 2.371 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.322e-05/0.2836, allocations: 49.14 kB / 1.026 GB, free: 2.305 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.592e-05/0.2837, allocations: 77.28 kB / 1.026 GB, free: 2.211 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2837, allocations: 0 / 1.026 GB, free: 2.211 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001342/0.2839, allocations: 97.62 kB / 1.026 GB, free: 2.109 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.2839, allocations: 8 kB / 1.026 GB, free: 2.102 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2839, allocations: 448 / 1.026 GB, free: 2.102 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.2839, allocations: 3.984 kB / 1.026 GB, free: 2.098 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.738e-05/0.284, allocations: 23.94 kB / 1.026 GB, free: 2.074 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.284, allocations: 0 / 1.026 GB, free: 2.074 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.395e-05/0.2841, allocations: 15.94 kB / 1.026 GB, free: 2.059 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.2841, allocations: 4 kB / 1.026 GB, free: 2.055 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 7.789e-05/0.2842, allocations: 109.8 kB / 1.026 GB, free: 1.938 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.2842, allocations: 15.92 kB / 1.026 GB, free: 1.922 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.909e-05/0.2843, allocations: 7.969 kB / 1.026 GB, free: 1.91 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2843, allocations: 0 / 1.026 GB, free: 1.91 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2843, allocations: 4 kB / 1.026 GB, free: 1.906 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2843, allocations: 3.938 kB / 1.026 GB, free: 1.902 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.2845, allocations: 169.7 kB / 1.026 GB, free: 1.688 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2845, allocations: 0 / 1.026 GB, free: 1.688 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.815e-05/0.2846, allocations: 15.94 kB / 1.026 GB, free: 1.672 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.2846, allocations: 3.984 kB / 1.026 GB, free: 1.668 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.2846, allocations: 7.938 kB / 1.026 GB, free: 1.66 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.2846, allocations: 4 kB / 1.026 GB, free: 1.656 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2847, allocations: 7.938 kB / 1.026 GB, free: 1.648 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.2848, allocations: 167.5 kB / 1.026 GB, free: 1.469 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.2849, allocations: 89.05 kB / 1.027 GB, free: 1.363 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.2849, allocations: 0 / 1.027 GB, free: 1.363 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.285, allocations: 4 kB / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.901e-05/0.285, allocations: 3.984 kB / 1.027 GB, free: 1.355 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.285, allocations: 11.94 kB / 1.027 GB, free: 1.344 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.269e-05/0.2851, allocations: 83.22 kB / 1.027 GB, free: 1.262 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2851, allocations: 0 / 1.027 GB, free: 1.262 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002457/0.2853, allocations: 16 kB / 1.027 GB, free: 1.246 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001111/0.2855, allocations: 99.25 kB / 1.027 GB, free: 1.141 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.2856, allocations: 43.91 kB / 1.027 GB, free: 1.098 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2856, allocations: 0 / 1.027 GB, free: 1.098 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.354e-05/0.2856, allocations: 16.25 kB / 1.027 GB, free: 1.082 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.2859, allocations: 15.06 kB / 1.027 GB, free: 1.07 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005342/0.2864, allocations: 322.5 kB / 1.027 GB, free: 0.7305 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.2867, allocations: 0.6807 MB / 1.028 GB, free: 24 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.527e-05/0.2867, allocations: 11.98 kB / 1.028 GB, free: 12 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.079e-05/0.2867, allocations: 11.44 kB / 1.028 GB, free: 4 kB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.2868, allocations: 0 / 1.028 GB, free: 4 kB / 0.795 GB Notification: Performance of Templates: time 0.002764/0.2895, allocations: 0.6178 MB / 1.028 GB, free: 15.39 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches