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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002038/0.002038, allocations: 194.8 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.916/2.916, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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=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 0.001995/0.001995, allocations: 71.88 kB / 1.109 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8524/0.8544, allocations: 168.7 MB / 1.274 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002381/0.8568, allocations: 1.267 MB / 1.275 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004018/0.8608, allocations: 2.971 MB / 1.278 GB, free: 316 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.756e-05/0.8609, allocations: 3.938 kB / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.194e-05/0.8609, allocations: 7.922 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.804e-05/0.861, allocations: 7.922 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005742/0.8615, allocations: 103.6 kB / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.97e-05/0.8616, allocations: 35.89 kB / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/0.8617, allocations: 4 kB / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005393/0.8622, allocations: 163.5 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.801e-05/0.8622, allocations: 15.92 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.8623, allocations: 4 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.8624, allocations: 75.8 kB / 1.279 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.8624, allocations: 7.922 kB / 1.279 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.8625, allocations: 15.94 kB / 1.279 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.8627, allocations: 62.53 kB / 1.279 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.8627, allocations: 3.984 kB / 1.279 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8627, allocations: 0 / 1.279 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.8627, allocations: 0 / 1.279 GB, free: 15.81 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.000508/0.8632, allocations: 347.4 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.8632, allocations: 8.031 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.8633, allocations: 8.938 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.8634, allocations: 172.3 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.8634, allocations: 384 / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.8635, allocations: 8.375 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.8636, allocations: 57.73 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.8636, allocations: 0 / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.8636, allocations: 4 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.8636, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.271e-05/0.8637, allocations: 15.98 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002033/0.8639, allocations: 169.7 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.864, allocations: 50.53 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.488e-05/0.864, allocations: 24.8 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007962/0.8648, allocations: 0.5946 MB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.8649, allocations: 30.56 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.8649, allocations: 4 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006451/0.8655, allocations: 302.6 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.8655, allocations: 55.41 kB / 1.28 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.104e-05/0.8656, allocations: 97.86 kB / 1.281 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.8656, allocations: 25.7 kB / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.8657, allocations: 92.08 kB / 1.281 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.8657, allocations: 27.75 kB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.8658, allocations: 29.7 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.8659, allocations: 318.8 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.254e-05/0.8659, allocations: 19.92 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.046e-05/0.866, allocations: 57.02 kB / 1.281 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.508e-05/0.8661, allocations: 73.09 kB / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.8661, allocations: 0 / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001509/0.8663, allocations: 97.5 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.8663, allocations: 8 kB / 1.281 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.8663, allocations: 4.125 kB / 1.281 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.8663, allocations: 0 / 1.281 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.379e-05/0.8664, allocations: 27.92 kB / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.8664, allocations: 0 / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.16e-05/0.8664, allocations: 8.375 kB / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.8664, allocations: 4 kB / 1.281 GB, free: 12.7 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 8.452e-05/0.8665, allocations: 109.8 kB / 1.281 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.8665, allocations: 4 kB / 1.281 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.8666, allocations: 7.969 kB / 1.281 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.8666, allocations: 8 kB / 1.281 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.8666, allocations: 7.984 kB / 1.281 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.8666, allocations: 3.938 kB / 1.281 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.8668, allocations: 173.7 kB / 1.282 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8668, allocations: 0 / 1.282 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.023e-05/0.8669, allocations: 15.94 kB / 1.282 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.8669, allocations: 0 / 1.282 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.8669, allocations: 0 / 1.282 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.8669, allocations: 4 kB / 1.282 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.8669, allocations: 0 / 1.282 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.8671, allocations: 179.4 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.146e-05/0.8672, allocations: 85.14 kB / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.8672, allocations: 4 kB / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.8673, allocations: 4 kB / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.8674, allocations: 0 / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.8674, allocations: 12.3 kB / 1.282 GB, free: 12 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.871e-05/0.8674, allocations: 87.2 kB / 1.282 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8674, allocations: 0 / 1.282 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000242/0.8677, allocations: 19.94 kB / 1.282 GB, free: 11.9 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.0001343/0.8678, allocations: 103.8 kB / 1.282 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001261/0.8679, allocations: 35.92 kB / 1.282 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8679, allocations: 0 / 1.282 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.574e-05/0.868, allocations: 15.98 kB / 1.282 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.8682, allocations: 8.219 kB / 1.282 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006134/0.8688, allocations: 353.7 kB / 1.282 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.8692, allocations: 0.6845 MB / 1.283 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.675e-05/0.8692, allocations: 7.984 kB / 1.283 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.8692, allocations: 15.44 kB / 1.283 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.8692, allocations: 0 / 1.283 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of Templates: time 0.003139/0.8724, allocations: 0.6433 MB / 1.284 GB, free: 9.988 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 -s cvode -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_2/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: 9.007580333855003]