Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001267/0.001267, allocations: 110.3 kB / 15.99 MB, free: 5.887 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.00129/0.001291, allocations: 193.7 kB / 16.91 MB, free: 5.746 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.426/1.426, allocations: 222.9 MB / 240.6 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.85/2.85, allocations: 469.8 MB / 0.7427 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 64.36 kB / 0.9087 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3146, allocations: 159.2 MB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002596/0.3172, allocations: 1.321 MB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003831/0.3211, allocations: 2.913 MB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.117e-05/0.3211, allocations: 0 / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.3212, allocations: 0 / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.996e-05/0.3212, allocations: 3.938 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004569/0.3217, allocations: 91.67 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.454e-05/0.3218, allocations: 39.86 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.551e-05/0.3218, allocations: 11.92 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000443/0.3223, allocations: 143.7 kB / 1.069 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.028e-05/0.3223, allocations: 19.91 kB / 1.069 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.3223, allocations: 0 / 1.069 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.3225, allocations: 67.83 kB / 1.069 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.3225, allocations: 7.984 kB / 1.069 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.3226, allocations: 19.92 kB / 1.069 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.3227, allocations: 48.16 kB / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3227, allocations: 0 / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3227, allocations: 0 / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.3227, allocations: 0 / 1.069 GB, free: 9.871 MB / 0.8262 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.0004501/0.3232, allocations: 343.5 kB / 1.069 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3232, allocations: 8.031 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.3233, allocations: 4.938 kB / 1.069 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.3234, allocations: 176.2 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.3234, allocations: 384 / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.3235, allocations: 8.375 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.3236, allocations: 53.8 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3236, allocations: 0 / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.3236, allocations: 4 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3236, allocations: 0 / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.295e-05/0.3237, allocations: 15.98 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.3239, allocations: 173.5 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.864e-05/0.324, allocations: 62.56 kB / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.241e-05/0.3241, allocations: 16.86 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007512/0.3248, allocations: 0.5869 MB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.3249, allocations: 38.56 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3249, allocations: 0 / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0005999/0.3255, allocations: 302.5 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.3255, allocations: 51.41 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.651e-05/0.3256, allocations: 109.7 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.3257, allocations: 33.7 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/0.3257, allocations: 84.08 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.3257, allocations: 27.56 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.3258, allocations: 33.7 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3259, allocations: 314.8 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.03e-05/0.326, allocations: 15.98 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.769e-05/0.3261, allocations: 49.14 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.3262, allocations: 77.27 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.3262, allocations: 0 / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001483/0.3263, allocations: 97.45 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3263, allocations: 5.562 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3264, allocations: 4 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3264, allocations: 128 / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.412e-05/0.3265, allocations: 27.92 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3265, allocations: 7.938 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.994e-05/0.3265, allocations: 8.375 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.3265, allocations: 4 kB / 1.071 GB, free: 6.762 MB / 0.8262 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 8.735e-05/0.3266, allocations: 117.8 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.3267, allocations: 4 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.042e-05/0.3267, allocations: 11.95 kB / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3267, allocations: 0 / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3267, allocations: 8 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.3267, allocations: 3.938 kB / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.327, allocations: 169.7 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.327, allocations: 0 / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.851e-05/0.3271, allocations: 16 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3271, allocations: 0 / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.3271, allocations: 4 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3271, allocations: 3.984 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3271, allocations: 0 / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.3274, allocations: 183.3 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.9e-05/0.3274, allocations: 81.14 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.3275, allocations: 4 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.3276, allocations: 0 / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.3276, allocations: 11.98 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.3276, allocations: 3.938 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.173e-05/0.3277, allocations: 79.28 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3277, allocations: 0 / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002405/0.3279, allocations: 12 kB / 1.072 GB, free: 5.969 MB / 0.8262 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.0001482/0.3281, allocations: 103.8 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001256/0.3282, allocations: 48.33 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3282, allocations: 3.938 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.962e-05/0.3282, allocations: 19.94 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.3285, allocations: 6.672 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006612/0.3292, allocations: 367.9 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.3296, allocations: 0.6846 MB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/0.3296, allocations: 11.44 kB / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3296, allocations: 0 / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of Templates: time 0.00238/0.332, allocations: 0.7775 MB / 1.074 GB, free: 3.891 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches