Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001878/0.001878, allocations: 105 kB / 15.98 MB, free: 6.352 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.002143/0.002143, allocations: 191.6 kB / 16.91 MB, free: 6.188 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.359/1.359, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.637/2.637, allocations: 469.4 MB / 0.7423 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 63.19 kB / 0.9083 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3138, allocations: 159.1 MB / 1.064 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002547/0.3164, allocations: 1.329 MB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003812/0.3203, allocations: 2.911 MB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.718e-05/0.3203, allocations: 0 / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.942e-05/0.3204, allocations: 0 / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.556e-05/0.3204, allocations: 7.922 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005741/0.321, allocations: 83.69 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.778e-05/0.3211, allocations: 43.78 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.3211, allocations: 7.984 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004974/0.3216, allocations: 143.7 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.099e-05/0.3217, allocations: 23.91 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.3217, allocations: 0 / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.3219, allocations: 63.83 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.3219, allocations: 11.97 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.322, allocations: 11.94 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.3221, allocations: 48.16 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3221, allocations: 0 / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3221, allocations: 0 / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.3221, allocations: 4 kB / 1.068 GB, free: 10.71 MB / 0.8419 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.0004275/0.3226, allocations: 347.5 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3226, allocations: 8.625 kB / 1.069 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/0.3227, allocations: 4.938 kB / 1.069 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.3228, allocations: 168.3 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.3228, allocations: 384 / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.3228, allocations: 8.375 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.323, allocations: 53.8 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.323, allocations: 4 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.323, allocations: 4 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.323, allocations: 7.938 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.404e-05/0.3231, allocations: 11.98 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.3233, allocations: 173.5 kB / 1.069 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.559e-05/0.3234, allocations: 54.5 kB / 1.069 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.163e-05/0.3234, allocations: 16.84 kB / 1.069 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006992/0.3241, allocations: 0.5908 MB / 1.07 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.3242, allocations: 38.56 kB / 1.07 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.3242, allocations: 0 / 1.07 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0005984/0.3248, allocations: 298.5 kB / 1.07 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.3248, allocations: 59.34 kB / 1.07 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.253e-05/0.3249, allocations: 101.8 kB / 1.07 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3249, allocations: 37.64 kB / 1.07 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.721e-05/0.325, allocations: 80.14 kB / 1.07 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.325, allocations: 31.55 kB / 1.07 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.325, allocations: 25.72 kB / 1.07 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.3252, allocations: 318.8 kB / 1.071 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.939e-05/0.3252, allocations: 12 kB / 1.071 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.978e-05/0.3253, allocations: 57.14 kB / 1.071 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.746e-05/0.3254, allocations: 73.25 kB / 1.071 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3254, allocations: 4 kB / 1.071 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001297/0.3255, allocations: 97.45 kB / 1.071 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3255, allocations: 4 kB / 1.071 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3255, allocations: 0 / 1.071 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3255, allocations: 7.938 kB / 1.071 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.428e-05/0.3256, allocations: 20.38 kB / 1.071 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3256, allocations: 4 kB / 1.071 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.077e-05/0.3257, allocations: 7.938 kB / 1.071 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.3257, allocations: 12.12 kB / 1.071 GB, free: 7.598 MB / 0.8419 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.438e-05/0.3258, allocations: 121.8 kB / 1.071 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.3258, allocations: 4 kB / 1.071 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.3259, allocations: 7.969 kB / 1.071 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.3259, allocations: 0 / 1.071 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3259, allocations: 0 / 1.071 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.3259, allocations: 3.938 kB / 1.071 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.3261, allocations: 169.7 kB / 1.071 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3261, allocations: 0 / 1.071 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.519e-05/0.3262, allocations: 27.98 kB / 1.071 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.3262, allocations: 0 / 1.071 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3262, allocations: 0 / 1.071 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3262, allocations: 0 / 1.071 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3262, allocations: 0 / 1.071 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.3264, allocations: 187.4 kB / 1.071 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.3265, allocations: 77.11 kB / 1.071 GB, free: 6.918 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.3265, allocations: 4 kB / 1.071 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.3266, allocations: 8 kB / 1.071 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.3267, allocations: 7.984 kB / 1.072 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.3267, allocations: 3.938 kB / 1.072 GB, free: 6.895 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.708e-05/0.3267, allocations: 79.28 kB / 1.072 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3267, allocations: 0 / 1.072 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000235/0.327, allocations: 12 kB / 1.072 GB, free: 6.805 MB / 0.8419 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.0001323/0.3271, allocations: 103.2 kB / 1.072 GB, free: 6.691 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001232/0.3272, allocations: 52.28 kB / 1.072 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3272, allocations: 0 / 1.072 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.685e-05/0.3273, allocations: 19.94 kB / 1.072 GB, free: 6.621 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.3276, allocations: 4 kB / 1.072 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005811/0.3282, allocations: 363.9 kB / 1.072 GB, free: 6.23 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.3284, allocations: 0.6846 MB / 1.073 GB, free: 5.52 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/0.3284, allocations: 19.44 kB / 1.073 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of SimCode: time 1.313e-06/0.3284, allocations: 0 / 1.073 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of Templates: time 0.002416/0.3309, allocations: 0.7764 MB / 1.074 GB, free: 4.727 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches