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.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.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.005496/0.005497, allocations: 101.5 kB / 15.88 MB, free: 5.863 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.001343/0.001343, allocations: 188.6 kB / 16.79 MB, free: 5.805 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.351/1.351, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.749/2.749, allocations: 461.9 MB / 0.7348 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.05 kB / 0.899 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3237, allocations: 157.4 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002548/0.3263, allocations: 1.321 MB / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003699/0.3301, allocations: 2.93 MB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.285e-05/0.3301, allocations: 0 / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.671e-05/0.3302, allocations: 3.984 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.512e-05/0.3302, allocations: 7.938 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005369/0.3308, allocations: 83.67 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.022e-05/0.3309, allocations: 43.78 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.3309, allocations: 0 / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004871/0.3314, allocations: 139.7 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.628e-05/0.3315, allocations: 23.91 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.3315, allocations: 0 / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.3317, allocations: 67.81 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.794e-05/0.3317, allocations: 7.984 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.3317, allocations: 19.92 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.3319, allocations: 36.17 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3319, allocations: 7.938 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3319, allocations: 0 / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.3319, allocations: 0 / 1.057 GB, free: 3.574 MB / 0.8106 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.0004744/0.3324, allocations: 347.5 kB / 1.058 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.3324, allocations: 11.97 kB / 1.058 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/0.3325, allocations: 4.938 kB / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.3327, allocations: 176.2 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.3327, allocations: 4.375 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.3327, allocations: 4.375 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.3329, allocations: 65.78 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3329, allocations: 4 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.3329, allocations: 0 / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3329, allocations: 0 / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.715e-05/0.333, allocations: 23.97 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.3332, allocations: 161.7 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.647e-05/0.3333, allocations: 50.5 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.202e-05/0.3333, allocations: 20.84 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007351/0.3341, allocations: 0.5946 MB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.3341, allocations: 30.56 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3341, allocations: 0 / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006038/0.3347, allocations: 306.5 kB / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.3348, allocations: 51.41 kB / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.868e-05/0.3349, allocations: 101.9 kB / 1.059 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.3349, allocations: 25.7 kB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.3349, allocations: 91.98 kB / 1.059 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.335, allocations: 31.55 kB / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.335, allocations: 21.72 kB / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3351, allocations: 326.8 kB / 1.06 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.9e-05/0.3352, allocations: 12 kB / 1.06 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.603e-05/0.3352, allocations: 61.02 kB / 1.06 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.997e-05/0.3353, allocations: 69.08 kB / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.3353, allocations: 0 / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000136/0.3355, allocations: 97.55 kB / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3355, allocations: 9.094 kB / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3355, allocations: 0 / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3355, allocations: 4 kB / 1.06 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.925e-05/0.3356, allocations: 23.92 kB / 1.06 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.3356, allocations: 0 / 1.06 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.065e-05/0.3357, allocations: 7.938 kB / 1.06 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.3357, allocations: 4 kB / 1.06 GB, free: 476 kB / 0.8106 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.433e-05/0.3358, allocations: 118 kB / 1.06 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.3358, allocations: 7.844 kB / 1.06 GB, free: 340 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.3359, allocations: 8.25 kB / 1.06 GB, free: 332 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3359, allocations: 7.938 kB / 1.06 GB, free: 324 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3359, allocations: 3.984 kB / 1.06 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3359, allocations: 4.375 kB / 1.06 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.3361, allocations: 173.7 kB / 1.06 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3361, allocations: 0 / 1.06 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.793e-05/0.3362, allocations: 19.98 kB / 1.06 GB, free: 72 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3363, allocations: 4 kB / 1.06 GB, free: 68 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.3363, allocations: 4 kB / 1.06 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3363, allocations: 0 / 1.06 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3363, allocations: 0 / 1.06 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.3365, allocations: 171.5 kB / 1.06 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.3366, allocations: 89.02 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.3366, allocations: 3.984 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.3367, allocations: 7.984 kB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.3367, allocations: 4 kB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.3367, allocations: 7.938 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.757e-05/0.3368, allocations: 83.27 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3368, allocations: 0 / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00024/0.337, allocations: 12 kB / 1.061 GB, free: 15.66 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.0001285/0.3372, allocations: 103.2 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001242/0.3373, allocations: 40.11 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.3373, allocations: 0 / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.65e-05/0.3373, allocations: 24.03 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.3377, allocations: 13.52 kB / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005726/0.3382, allocations: 361.9 kB / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.3385, allocations: 0.6809 MB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.722e-05/0.3385, allocations: 11.44 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of SimCode: time 3.4e-07/0.3385, allocations: 4 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of Templates: time 0.002151/0.3407, allocations: 0.7691 MB / 1.063 GB, free: 13.59 MB / 0.8262 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