Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00073/0.00073, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007779/0.0007779, allocations: 181.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8631/0.8631, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.715/1.715, allocations: 377.8 MB / 0.6228 GB, free: 8.637 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.9821 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.672e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001583/0.001609, allocations: 1.27 MB / 0.9834 GB, free: 0.8281 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002416/0.004025, allocations: 2.763 MB / 0.9861 GB, free: 14.05 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.575e-05/0.004051, allocations: 0 / 0.9861 GB, free: 14.05 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.004067, allocations: 4 kB / 0.9861 GB, free: 14.05 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 4.098e-05/0.004108, allocations: 7.969 kB / 0.9861 GB, free: 14.04 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.00453, allocations: 103.4 kB / 0.9862 GB, free: 13.94 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 6.601e-05/0.004596, allocations: 43.83 kB / 0.9862 GB, free: 13.9 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.429e-05/0.00463, allocations: 4 kB / 0.9862 GB, free: 13.89 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003917/0.005022, allocations: 195.4 kB / 0.9864 GB, free: 13.7 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.2e-05/0.005054, allocations: 11.92 kB / 0.9864 GB, free: 13.69 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.005065, allocations: 4 kB / 0.9864 GB, free: 13.69 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.5e-05/0.00516, allocations: 55.81 kB / 0.9865 GB, free: 13.63 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.005172, allocations: 8 kB / 0.9865 GB, free: 13.62 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.096e-05/0.005193, allocations: 19.91 kB / 0.9865 GB, free: 13.61 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.005332, allocations: 59.86 kB / 0.9866 GB, free: 13.55 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.005334, allocations: 0 / 0.9866 GB, free: 13.55 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.41e-07/0.005335, allocations: 0 / 0.9866 GB, free: 13.55 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.005338, allocations: 0 / 0.9866 GB, free: 13.55 MB / 0.948 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.0003102/0.005648, allocations: 274.3 kB / 0.9868 GB, free: 13.25 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.005681, allocations: 12.03 kB / 0.9869 GB, free: 13.24 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.005713, allocations: 0.9375 kB / 0.9869 GB, free: 13.24 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.089e-05/0.005774, allocations: 109.8 kB / 0.987 GB, free: 13.11 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.005783, allocations: 384 / 0.987 GB, free: 13.11 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.005804, allocations: 8.375 kB / 0.987 GB, free: 13.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.005923, allocations: 131.3 kB / 0.9871 GB, free: 12.95 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.005931, allocations: 4.188 kB / 0.9871 GB, free: 12.94 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.005942, allocations: 16.05 kB / 0.9871 GB, free: 12.93 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.005946, allocations: 0 / 0.9871 GB, free: 12.93 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.955e-05/0.005985, allocations: 19.91 kB / 0.9871 GB, free: 12.91 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001115/0.006097, allocations: 113.3 kB / 0.9872 GB, free: 12.77 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.753e-05/0.006164, allocations: 46.55 kB / 0.9873 GB, free: 12.71 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.637e-05/0.006191, allocations: 16.86 kB / 0.9873 GB, free: 12.69 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000424/0.006615, allocations: 254 kB / 0.9875 GB, free: 12.42 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.006633, allocations: 30.56 kB / 0.9876 GB, free: 12.38 MB / 0.948 GB Notification: Performance of pre-optimization done (n=5): time 8.01e-07/0.006633, allocations: 0 / 0.9876 GB, free: 12.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0004124/0.007046, allocations: 225.2 kB / 0.9878 GB, free: 12.13 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.007071, allocations: 51.41 kB / 0.9878 GB, free: 12.07 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.063e-05/0.007122, allocations: 105.8 kB / 0.9879 GB, free: 11.95 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.007132, allocations: 29.7 kB / 0.988 GB, free: 11.92 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.007171, allocations: 88.09 kB / 0.9881 GB, free: 11.83 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.007186, allocations: 27.73 kB / 0.9881 GB, free: 11.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.007213, allocations: 21.72 kB / 0.9881 GB, free: 11.77 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.007368, allocations: 322.8 kB / 0.9884 GB, free: 11.45 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.976e-05/0.007388, allocations: 12 kB / 0.9884 GB, free: 11.44 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.861e-05/0.007427, allocations: 57.02 kB / 0.9885 GB, free: 11.36 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.271e-05/0.00749, allocations: 81.02 kB / 0.9885 GB, free: 11.27 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.007491, allocations: 0 / 0.9885 GB, free: 11.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.829e-05/0.007579, allocations: 97.5 kB / 0.9886 GB, free: 11.16 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.00759, allocations: 8 kB / 0.9886 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.007595, allocations: 0 / 0.9886 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.007605, allocations: 0 / 0.9886 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.554e-05/0.00765, allocations: 24.38 kB / 0.9887 GB, free: 11.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.007659, allocations: 7.922 kB / 0.9887 GB, free: 11.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.013e-05/0.007679, allocations: 8.125 kB / 0.9887 GB, free: 11.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.007686, allocations: 12 kB / 0.9887 GB, free: 11.11 MB / 0.948 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 4.984e-05/0.007736, allocations: 113.8 kB / 0.9888 GB, free: 10.98 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.007748, allocations: 4 kB / 0.9888 GB, free: 10.98 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.067e-05/0.007769, allocations: 8.125 kB / 0.9888 GB, free: 10.97 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.007771, allocations: 4 kB / 0.9888 GB, free: 10.96 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.007775, allocations: 288 / 0.9888 GB, free: 10.96 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.007777, allocations: 0 / 0.9888 GB, free: 10.96 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.007905, allocations: 125.3 kB / 0.9889 GB, free: 10.81 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.007907, allocations: 3.984 kB / 0.9889 GB, free: 10.81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.462e-05/0.007951, allocations: 23.92 kB / 0.989 GB, free: 10.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.007952, allocations: 0 / 0.989 GB, free: 10.79 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.007958, allocations: 0 / 0.989 GB, free: 10.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.00796, allocations: 4 kB / 0.989 GB, free: 10.78 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.007961, allocations: 3.938 kB / 0.989 GB, free: 10.78 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.008076, allocations: 171.4 kB / 0.9891 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.326e-05/0.0081, allocations: 4 kB / 0.9891 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.00811, allocations: 4.031 kB / 0.9891 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.532e-05/0.008165, allocations: 8 kB / 0.9892 GB, free: 10.58 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.146e-05/0.008176, allocations: 0 / 0.9892 GB, free: 10.58 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.008183, allocations: 7.984 kB / 0.9892 GB, free: 10.57 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.18e-05/0.008204, allocations: 83.28 kB / 0.9892 GB, free: 10.49 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.008204, allocations: 0 / 0.9892 GB, free: 10.49 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001503/0.008355, allocations: 12 kB / 0.9893 GB, free: 10.48 MB / 0.948 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 8.231e-05/0.008437, allocations: 107.2 kB / 0.9894 GB, free: 10.36 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.895e-05/0.008516, allocations: 39.91 kB / 0.9894 GB, free: 10.32 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.008517, allocations: 0 / 0.9894 GB, free: 10.32 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.599e-05/0.008533, allocations: 19.98 kB / 0.9894 GB, free: 10.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.008709, allocations: 10.84 kB / 0.9894 GB, free: 10.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.009066, allocations: 278.6 kB / 0.9897 GB, free: 9.992 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.166e-05/0.009107, allocations: 71.28 kB / 0.9898 GB, free: 9.902 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.148e-05/0.009129, allocations: 16.5 kB / 0.9898 GB, free: 9.887 MB / 0.948 GB Notification: Performance of SimCode: time 2.4e-07/0.009129, allocations: 3.938 kB / 0.9898 GB, free: 9.883 MB / 0.948 GB Notification: Performance of Templates: time 0.00139/0.01052, allocations: 0.8009 MB / 0.9906 GB, free: 9.082 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.335162767209113]