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.001349/0.001349, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.001457/0.001457, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.458/1.458, 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.509/2.509, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 63.02 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3017, allocations: 151.6 MB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002394/0.3041, allocations: 1.256 MB / 1.02 GB, free: 8.594 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003296/0.3075, allocations: 2.935 MB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.3075, allocations: 0 / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.3075, allocations: 3.938 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.694e-05/0.3076, allocations: 0 / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.308, allocations: 111.5 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.263e-05/0.3081, allocations: 35.84 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.248e-05/0.3081, allocations: 4 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004131/0.3086, allocations: 151.5 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.208e-05/0.3086, allocations: 23.91 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.3086, allocations: 0 / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.3088, allocations: 59.89 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.3088, allocations: 11.97 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.8e-05/0.3088, allocations: 15.94 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.309, allocations: 71.73 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.309, allocations: 3.984 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.443e-06/0.309, allocations: 0 / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.309, 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.0003702/0.3094, allocations: 339.6 kB / 1.024 GB, free: 4.781 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.3094, allocations: 12.92 kB / 1.024 GB, free: 4.77 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.3095, allocations: 4.844 kB / 1.024 GB, free: 4.766 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.313e-05/0.3096, allocations: 172.3 kB / 1.024 GB, free: 4.559 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.3096, allocations: 8.375 kB / 1.024 GB, free: 4.551 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.3096, allocations: 4.375 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.3098, allocations: 57.8 kB / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.3098, allocations: 0 / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.3098, allocations: 3.984 kB / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3098, allocations: 4 kB / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.023e-05/0.3099, allocations: 19.92 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.31, allocations: 157.7 kB / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.154e-05/0.3101, allocations: 58.55 kB / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.872e-05/0.3101, allocations: 20.8 kB / 1.024 GB, free: 4.164 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006524/0.3108, allocations: 0.5987 MB / 1.025 GB, free: 3.457 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.3108, allocations: 38.44 kB / 1.025 GB, free: 3.41 MB / 0.795 GB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.3108, allocations: 4 kB / 1.025 GB, free: 3.406 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0005262/0.3114, allocations: 298.2 kB / 1.025 GB, free: 3.062 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.3114, allocations: 51.41 kB / 1.025 GB, free: 3 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.187e-05/0.3115, allocations: 97.86 kB / 1.025 GB, free: 2.895 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.3115, allocations: 25.7 kB / 1.025 GB, free: 2.863 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.074e-05/0.3115, allocations: 92.03 kB / 1.025 GB, free: 2.77 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.3116, allocations: 27.62 kB / 1.025 GB, free: 2.742 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.3116, allocations: 29.7 kB / 1.025 GB, free: 2.707 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.071e-05/0.3117, allocations: 326.8 kB / 1.026 GB, free: 2.379 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.017e-05/0.3117, allocations: 11.98 kB / 1.026 GB, free: 2.367 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.036e-05/0.3118, allocations: 53.14 kB / 1.026 GB, free: 2.297 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.248e-05/0.3119, allocations: 73.03 kB / 1.026 GB, free: 2.207 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3119, allocations: 0 / 1.026 GB, free: 2.207 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001342/0.312, allocations: 93.55 kB / 1.026 GB, free: 2.109 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.3121, allocations: 8 kB / 1.026 GB, free: 2.102 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3121, allocations: 0 / 1.026 GB, free: 2.102 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3121, allocations: 4 kB / 1.026 GB, free: 2.098 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.779e-05/0.3122, allocations: 24.11 kB / 1.026 GB, free: 2.074 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.3122, allocations: 8.062 kB / 1.026 GB, free: 2.066 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.974e-05/0.3122, allocations: 3.938 kB / 1.026 GB, free: 2.062 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.3122, allocations: 7.938 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.278e-05/0.3123, allocations: 118.4 kB / 1.026 GB, free: 1.93 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.3124, allocations: 3.906 kB / 1.026 GB, free: 1.926 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.3124, allocations: 11.97 kB / 1.026 GB, free: 1.91 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3124, allocations: 0 / 1.026 GB, free: 1.91 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.3124, allocations: 4.266 kB / 1.026 GB, free: 1.906 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3124, allocations: 7.938 kB / 1.026 GB, free: 1.898 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.3126, allocations: 173.7 kB / 1.026 GB, free: 1.68 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3127, allocations: 0 / 1.026 GB, free: 1.68 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.303e-05/0.3128, allocations: 15.98 kB / 1.026 GB, free: 1.664 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3128, allocations: 4 kB / 1.026 GB, free: 1.66 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.3128, allocations: 448 / 1.026 GB, free: 1.66 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3128, allocations: 0 / 1.026 GB, free: 1.66 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3128, allocations: 0 / 1.026 GB, free: 1.66 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.313, allocations: 179.4 kB / 1.026 GB, free: 1.469 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.313, allocations: 93.05 kB / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.313, allocations: 4 kB / 1.027 GB, free: 1.355 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.3131, allocations: 4 kB / 1.027 GB, free: 1.352 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.3132, allocations: 7.938 kB / 1.027 GB, free: 1.344 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.3132, allocations: 7.922 kB / 1.027 GB, free: 1.336 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.367e-05/0.3132, allocations: 83.28 kB / 1.027 GB, free: 1.254 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3132, allocations: 0 / 1.027 GB, free: 1.254 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000244/0.3135, allocations: 8 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.0001136/0.3136, allocations: 107.8 kB / 1.027 GB, free: 1.133 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.3137, allocations: 43.86 kB / 1.027 GB, free: 1.09 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3137, allocations: 0 / 1.027 GB, free: 1.09 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.614e-05/0.3137, allocations: 19.98 kB / 1.027 GB, free: 1.07 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.314, allocations: 10.23 kB / 1.027 GB, free: 1.062 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005231/0.3145, allocations: 310.7 kB / 1.027 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.3148, allocations: 0.6885 MB / 1.028 GB, free: 20 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.727e-05/0.3149, allocations: 7.969 kB / 1.028 GB, free: 12 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.3149, allocations: 11.44 kB / 1.028 GB, free: 4 kB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.3149, allocations: 0 / 1.028 GB, free: 4 kB / 0.795 GB Notification: Performance of Templates: time 0.002869/0.3178, allocations: 0.6239 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 cvode -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