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.00181/0.00181, allocations: 80.36 kB / 19.18 MB, free: 2.527 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.002218/0.002218, allocations: 174.9 kB / 22.46 MB, free: 5.355 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.48/1.48, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.829/2.829, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 0.9509 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.406e-05/3.654e-05, allocations: 6.219 kB / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.003079/0.003115, allocations: 1.282 MB / 0.9522 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004591/0.007706, allocations: 2.756 MB / 0.9549 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.115e-05/0.007737, allocations: 0 / 0.9549 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.991e-05/0.007757, allocations: 3.938 kB / 0.9549 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.249e-05/0.007819, allocations: 7.922 kB / 0.9549 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005948/0.008414, allocations: 99.5 kB / 0.955 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.706e-05/0.008511, allocations: 43.83 kB / 0.955 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.579e-05/0.008557, allocations: 4 kB / 0.955 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007135/0.00927, allocations: 191.3 kB / 0.9552 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.692e-05/0.009327, allocations: 15.97 kB / 0.9552 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.009345, allocations: 4 kB / 0.9552 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.009505, allocations: 51.83 kB / 0.9553 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.527e-05/0.009531, allocations: 15.92 kB / 0.9553 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.009561, allocations: 11.98 kB / 0.9553 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.009749, allocations: 63.86 kB / 0.9554 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.009752, allocations: 0 / 0.9554 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.21e-07/0.009752, allocations: 0 / 0.9554 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.009757, allocations: 0 / 0.9554 GB, free: 7.039 MB / 0.8575 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.0004721/0.01023, allocations: 278.2 kB / 0.9556 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.01027, allocations: 8.031 kB / 0.9556 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.01031, allocations: 8.875 kB / 0.9556 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.01046, allocations: 105.8 kB / 0.9557 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.01047, allocations: 384 / 0.9557 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.0105, allocations: 16.33 kB / 0.9558 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.0107, allocations: 127.3 kB / 0.9559 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.01071, allocations: 192 / 0.9559 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.01073, allocations: 8.125 kB / 0.9559 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.01073, allocations: 4 kB / 0.9559 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.743e-05/0.01079, allocations: 15.97 kB / 0.9559 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001825/0.01097, allocations: 117.3 kB / 0.956 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.01109, allocations: 54.42 kB / 0.9561 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.468e-05/0.01112, allocations: 16.84 kB / 0.9561 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006219/0.01174, allocations: 245.8 kB / 0.9563 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.01178, allocations: 38.55 kB / 0.9564 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.01178, allocations: 0 / 0.9564 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0007046/0.01249, allocations: 221.8 kB / 0.9566 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.01254, allocations: 55.41 kB / 0.9566 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.148e-05/0.01263, allocations: 101.8 kB / 0.9567 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.01265, allocations: 25.7 kB / 0.9567 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/0.01271, allocations: 96.02 kB / 0.9568 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.01274, allocations: 23.81 kB / 0.9569 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.478e-05/0.0128, allocations: 25.7 kB / 0.9569 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.01295, allocations: 318.8 kB / 0.9572 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.153e-05/0.01299, allocations: 12.06 kB / 0.9572 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-05/0.01305, allocations: 61.08 kB / 0.9573 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.01316, allocations: 73.02 kB / 0.9573 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.01316, allocations: 0 / 0.9573 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000167/0.01333, allocations: 105.6 kB / 0.9574 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.01335, allocations: 4 kB / 0.9574 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.01335, allocations: 4 kB / 0.9574 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.01337, allocations: 3.938 kB / 0.9574 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.087e-05/0.01345, allocations: 19.98 kB / 0.9575 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.01346, allocations: 4 kB / 0.9575 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.675e-05/0.0135, allocations: 0 / 0.9575 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.01351, allocations: 4 kB / 0.9575 GB, free: 4.609 MB / 0.8575 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.0001061/0.01361, allocations: 125.7 kB / 0.9576 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.01365, allocations: 4 kB / 0.9576 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.507e-05/0.01368, allocations: 12.16 kB / 0.9576 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01368, allocations: 0 / 0.9576 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.01369, allocations: 0 / 0.9576 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01369, allocations: 0 / 0.9576 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.01392, allocations: 129.2 kB / 0.9577 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01392, allocations: 0 / 0.9577 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.125e-05/0.01402, allocations: 16 kB / 0.9577 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01402, allocations: 288 / 0.9577 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.01403, allocations: 0 / 0.9577 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.01403, allocations: 0 / 0.9577 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01403, allocations: 0 / 0.9577 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.01426, allocations: 187.3 kB / 0.9579 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.569e-05/0.01428, allocations: 15.97 kB / 0.9579 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.0143, allocations: 0 / 0.9579 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.01441, allocations: 8 kB / 0.9579 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.01443, allocations: 3.984 kB / 0.9579 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.01444, allocations: 4 kB / 0.9579 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.848e-05/0.01449, allocations: 75.28 kB / 0.958 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.01449, allocations: 0 / 0.958 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002817/0.01477, allocations: 19.94 kB / 0.958 GB, free: 3.969 MB / 0.8575 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.0001486/0.01492, allocations: 103.2 kB / 0.9581 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001448/0.01506, allocations: 43.92 kB / 0.9582 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01506, allocations: 0 / 0.9582 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.755e-05/0.01509, allocations: 15.92 kB / 0.9582 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.01539, allocations: 14.52 kB / 0.9582 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005699/0.01596, allocations: 257.2 kB / 0.9584 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.312e-05/0.01603, allocations: 67.3 kB / 0.9585 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.743e-05/0.01608, allocations: 11.98 kB / 0.9585 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.01611, allocations: 12.5 kB / 0.9585 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of SimCode: time 3.21e-07/0.01611, allocations: 0 / 0.9585 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of Templates: time 0.003349/0.01946, allocations: 0.6268 MB / 0.9591 GB, free: 2.789 MB / 0.8575 GB " [Timeout remaining time 300] 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/jenkins/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: 8.005100909620523]