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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002023/0.002023, allocations: 218.7 kB / 23.01 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.888/2.888, allocations: 476.7 MB / 0.7714 GB, free: 4.207 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 65.97 kB / 1.119 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3252, allocations: 170 MB / 1.285 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00244/0.3276, allocations: 1.279 MB / 1.286 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004043/0.3317, allocations: 3.014 MB / 1.289 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.275e-05/0.3317, allocations: 0 / 1.289 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.328e-05/0.3317, allocations: 0 / 1.289 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.409e-05/0.3318, allocations: 11.86 kB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004936/0.3323, allocations: 107.5 kB / 1.289 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.987e-05/0.3323, allocations: 35.91 kB / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.513e-05/0.3324, allocations: 4 kB / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005369/0.3329, allocations: 187.5 kB / 1.289 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.357e-05/0.333, allocations: 23.84 kB / 1.289 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.333, allocations: 4 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.3331, allocations: 63.88 kB / 1.289 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.3332, allocations: 7.984 kB / 1.289 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.3332, allocations: 19.92 kB / 1.289 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.3334, allocations: 67.8 kB / 1.289 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3334, allocations: 0 / 1.289 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3334, allocations: 0 / 1.289 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.3334, allocations: 0 / 1.289 GB, free: 6.387 MB / 0.9825 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.0004112/0.3338, allocations: 278.2 kB / 1.29 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3338, allocations: 8.031 kB / 1.29 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.3339, allocations: 4.938 kB / 1.29 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.554e-05/0.334, allocations: 110.5 kB / 1.29 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.334, allocations: 384 / 1.29 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.334, allocations: 8.375 kB / 1.29 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.3341, allocations: 53.8 kB / 1.29 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3341, allocations: 4 kB / 1.29 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3342, allocations: 4 kB / 1.29 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.3342, allocations: 4 kB / 1.29 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.443e-05/0.3342, allocations: 15.98 kB / 1.29 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/0.3344, allocations: 144.6 kB / 1.29 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.3345, allocations: 58.42 kB / 1.29 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.353e-05/0.3346, allocations: 16.84 kB / 1.29 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005537/0.3351, allocations: 242.1 kB / 1.29 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.3351, allocations: 34.55 kB / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.3351, allocations: 4 kB / 1.29 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0005724/0.3357, allocations: 225.1 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.017e-05/0.3358, allocations: 55.34 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.635e-05/0.3358, allocations: 97.86 kB / 1.291 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.3359, allocations: 37.64 kB / 1.291 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/0.3359, allocations: 88.16 kB / 1.291 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.3359, allocations: 31.73 kB / 1.291 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.336, allocations: 29.7 kB / 1.291 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3361, allocations: 314.8 kB / 1.291 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.15e-05/0.3362, allocations: 15.98 kB / 1.291 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.95e-05/0.3362, allocations: 49.16 kB / 1.291 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.3363, allocations: 73.27 kB / 1.291 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3363, allocations: 0 / 1.291 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001452/0.3365, allocations: 101.5 kB / 1.291 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3365, allocations: 4 kB / 1.291 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3365, allocations: 0 / 1.291 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.3365, allocations: 4 kB / 1.291 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.941e-05/0.3366, allocations: 23.92 kB / 1.291 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3366, allocations: 4 kB / 1.291 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.954e-05/0.3366, allocations: 11.88 kB / 1.291 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.3367, allocations: 4 kB / 1.291 GB, free: 4.004 MB / 0.9825 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 0.0001011/0.3368, allocations: 121.9 kB / 1.291 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.3368, allocations: 7.953 kB / 1.291 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.086e-05/0.3368, allocations: 8.062 kB / 1.291 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.3368, allocations: 0 / 1.291 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3368, allocations: 0 / 1.291 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.3368, allocations: 7.922 kB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.3371, allocations: 141.2 kB / 1.292 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3371, allocations: 0 / 1.292 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.361e-05/0.3372, allocations: 27.98 kB / 1.292 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3372, allocations: 4 kB / 1.292 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.3372, allocations: 0 / 1.292 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3372, allocations: 0 / 1.292 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3372, allocations: 0 / 1.292 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.3374, allocations: 179.4 kB / 1.292 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.365e-05/0.3374, allocations: 3.953 kB / 1.292 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.3374, allocations: 8.031 kB / 1.292 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.3375, allocations: 4 kB / 1.292 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.039e-05/0.3376, allocations: 8 kB / 1.292 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.3376, allocations: 3.938 kB / 1.292 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.651e-05/0.3376, allocations: 83.27 kB / 1.292 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3376, allocations: 0 / 1.292 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002436/0.3379, allocations: 16 kB / 1.292 GB, free: 3.32 MB / 0.9825 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.0001302/0.338, allocations: 95.25 kB / 1.292 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.3381, allocations: 44.11 kB / 1.292 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3381, allocations: 4 kB / 1.292 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.896e-05/0.3381, allocations: 19.92 kB / 1.292 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.3384, allocations: 8 kB / 1.292 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006258/0.3391, allocations: 348.6 kB / 1.292 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.3394, allocations: 0.6846 MB / 1.293 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.3394, allocations: 11.44 kB / 1.293 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3394, allocations: 0 / 1.293 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of Templates: time 0.002329/0.3417, allocations: 0.7933 MB / 1.294 GB, free: 1.258 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "Error: Could not read variable der(cpCod) in file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.911527481017401]