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.001429/0.001429, allocations: 115.7 kB / 17.13 MB, free: 6.008 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.001397/0.001397, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.453/1.453, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.861/2.861, allocations: 0.49 GB / 0.7923 GB, free: 1.465 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002028/0.002028, allocations: 71.89 kB / 1.15 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8667/0.8687, allocations: 176.1 MB / 1.322 GB, free: 25.24 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001831/0.8706, allocations: 1.271 MB / 1.323 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002514/0.8731, allocations: 2.989 MB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.971e-05/0.8731, allocations: 0 / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.092e-05/0.8731, allocations: 3.938 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.663e-05/0.8732, allocations: 2.75 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.8736, allocations: 114.2 kB / 1.326 GB, free: 22.13 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.301e-05/0.8736, allocations: 36.91 kB / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.069e-05/0.8736, allocations: 6.625 kB / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003589/0.874, allocations: 159.4 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.648e-05/0.874, allocations: 13.16 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.387e-06/0.8741, allocations: 3.984 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.8742, allocations: 72.02 kB / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.134e-05/0.8742, allocations: 6.594 kB / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.8742, allocations: 17.16 kB / 1.326 GB, free: 22.01 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.8744, allocations: 68.47 kB / 1.327 GB, free: 21.98 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.8744, allocations: 0 / 1.327 GB, free: 21.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.052e-06/0.8744, allocations: 0 / 1.327 GB, free: 21.98 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.8744, allocations: 4 kB / 1.327 GB, free: 21.98 MB / 1.061 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.0002946/0.8747, allocations: 350.8 kB / 1.327 GB, free: 21.61 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.8747, allocations: 18.92 kB / 1.327 GB, free: 21.61 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.8747, allocations: 3.375 kB / 1.327 GB, free: 21.61 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.559e-05/0.8748, allocations: 164.3 kB / 1.327 GB, free: 21.41 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.8748, allocations: 2.969 kB / 1.327 GB, free: 21.41 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.8748, allocations: 7.094 kB / 1.327 GB, free: 21.4 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.8749, allocations: 61.08 kB / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.8749, allocations: 4 kB / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.875, allocations: 4 kB / 1.327 GB, free: 21.35 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.875, allocations: 3.062 kB / 1.327 GB, free: 21.35 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.053e-05/0.875, allocations: 18.8 kB / 1.327 GB, free: 21.35 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001181/0.8751, allocations: 165.4 kB / 1.327 GB, free: 21.15 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.744e-05/0.8752, allocations: 49.06 kB / 1.327 GB, free: 21.12 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.365e-05/0.8752, allocations: 14.3 kB / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004987/0.8757, allocations: 0.5985 MB / 1.328 GB, free: 20.46 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.8757, allocations: 38.5 kB / 1.328 GB, free: 20.42 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.8757, allocations: 0 / 1.328 GB, free: 20.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0004479/0.8762, allocations: 302.1 kB / 1.328 GB, free: 20.14 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.8762, allocations: 55.41 kB / 1.328 GB, free: 20.07 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.234e-05/0.8763, allocations: 99.64 kB / 1.328 GB, free: 19.97 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.026e-06/0.8763, allocations: 29.7 kB / 1.328 GB, free: 19.93 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.457e-05/0.8763, allocations: 89.97 kB / 1.329 GB, free: 19.85 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.8763, allocations: 26.34 kB / 1.329 GB, free: 19.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.8763, allocations: 28.69 kB / 1.329 GB, free: 19.8 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.112e-05/0.8764, allocations: 317.3 kB / 1.329 GB, free: 19.48 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.594e-05/0.8764, allocations: 15.03 kB / 1.329 GB, free: 19.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.34e-05/0.8764, allocations: 50.84 kB / 1.329 GB, free: 19.43 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.825e-05/0.8765, allocations: 78.8 kB / 1.329 GB, free: 19.36 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.8765, allocations: 4 kB / 1.329 GB, free: 19.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001313/0.8767, allocations: 93.2 kB / 1.329 GB, free: 19.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.8767, allocations: 7.625 kB / 1.329 GB, free: 19.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.8767, allocations: 1.25 kB / 1.329 GB, free: 19.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.8767, allocations: 1.875 kB / 1.329 GB, free: 19.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.276e-05/0.8768, allocations: 20.02 kB / 1.329 GB, free: 19.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.8768, allocations: 2.297 kB / 1.329 GB, free: 19.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/0.8768, allocations: 10.5 kB / 1.329 GB, free: 19.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-06/0.8768, allocations: 18.89 kB / 1.329 GB, free: 19.27 MB / 1.061 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.829e-05/0.8769, allocations: 113.8 kB / 1.329 GB, free: 19.16 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.8769, allocations: 6.078 kB / 1.329 GB, free: 19.15 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.8769, allocations: 12.72 kB / 1.329 GB, free: 19.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.8769, allocations: 1.094 kB / 1.329 GB, free: 19.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.8769, allocations: 0 / 1.329 GB, free: 19.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.8769, allocations: 8.625 kB / 1.329 GB, free: 19.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.8771, allocations: 171.6 kB / 1.33 GB, free: 18.94 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.8771, allocations: 0.75 kB / 1.33 GB, free: 18.94 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.389e-05/0.8772, allocations: 20.64 kB / 1.33 GB, free: 18.94 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.8772, allocations: 0.7812 kB / 1.33 GB, free: 18.94 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.8772, allocations: 4.812 kB / 1.33 GB, free: 18.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.8772, allocations: 1.469 kB / 1.33 GB, free: 18.93 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.8772, allocations: 0 / 1.33 GB, free: 18.93 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.8774, allocations: 175.6 kB / 1.33 GB, free: 18.78 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.941e-05/0.8774, allocations: 83.52 kB / 1.33 GB, free: 18.69 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.8774, allocations: 4.844 kB / 1.33 GB, free: 18.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.8775, allocations: 6.5 kB / 1.33 GB, free: 18.68 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.8776, allocations: 5.453 kB / 1.33 GB, free: 18.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.8776, allocations: 9.969 kB / 1.33 GB, free: 18.67 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.828e-05/0.8776, allocations: 78.09 kB / 1.33 GB, free: 18.6 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.8776, allocations: 0 / 1.33 GB, free: 18.6 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005237/0.8781, allocations: 14.28 kB / 1.33 GB, free: 18.59 MB / 1.061 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 9.771e-05/0.8782, allocations: 102.4 kB / 1.33 GB, free: 18.5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001123/0.8783, allocations: 50.97 kB / 1.33 GB, free: 18.48 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8783, allocations: 0.5938 kB / 1.33 GB, free: 18.48 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.532e-05/0.8784, allocations: 14.27 kB / 1.33 GB, free: 18.48 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.8786, allocations: 10.77 kB / 1.33 GB, free: 18.48 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/0.8791, allocations: 349.7 kB / 1.33 GB, free: 18.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.862e-05/0.8792, allocations: 0.6813 MB / 1.331 GB, free: 17.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.8792, allocations: 12.75 kB / 1.331 GB, free: 17.48 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.8792, allocations: 4 kB / 1.331 GB, free: 17.47 MB / 1.061 GB Notification: Performance of Templates: time 0.002246/0.8814, allocations: 0.7799 MB / 1.332 GB, free: 17.41 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.114759983989643]