Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001939/0.001939, allocations: 110 kB / 18.93 MB, free: 2.945 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.001665/0.001665, allocations: 192 kB / 22.23 MB, free: 5.16 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.48/1.48, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.657/2.657, allocations: 443.4 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 67.89 kB / 1.061 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9017/0.9037, allocations: 160.8 MB / 1.218 GB, free: 3.688 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002898/0.9066, allocations: 1.271 MB / 1.22 GB, free: 2.684 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004626/0.9112, allocations: 2.986 MB / 1.223 GB, free: 280 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.9112, allocations: 0 / 1.223 GB, free: 280 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.9113, allocations: 3.938 kB / 1.223 GB, free: 276 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.278e-05/0.9113, allocations: 1 kB / 1.223 GB, free: 276 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006363/0.912, allocations: 106 kB / 1.223 GB, free: 196 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.88e-05/0.9121, allocations: 42.25 kB / 1.223 GB, free: 172 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.9121, allocations: 2.312 kB / 1.223 GB, free: 172 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006066/0.9127, allocations: 186.8 kB / 1.223 GB, free: 56 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.519e-05/0.9127, allocations: 18.62 kB / 1.223 GB, free: 44 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.9128, allocations: 1.344 kB / 1.223 GB, free: 44 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.913, allocations: 74.12 kB / 1.223 GB, free: 0 / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.913, allocations: 10.23 kB / 1.223 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.183e-05/0.913, allocations: 19.2 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.9132, allocations: 62.16 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.9132, allocations: 0 / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9132, allocations: 1.062 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.9132, allocations: 0 / 1.223 GB, free: 15.95 MB / 0.9356 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.0004898/0.9137, allocations: 351.5 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.9138, allocations: 10.38 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.9138, allocations: 7.469 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.914, allocations: 165.1 kB / 1.224 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.914, allocations: 2.406 kB / 1.224 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.914, allocations: 12.14 kB / 1.224 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.9141, allocations: 56.86 kB / 1.224 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.9141, allocations: 5.281 kB / 1.224 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.9142, allocations: 0 / 1.224 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.9142, allocations: 1.125 kB / 1.224 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.786e-05/0.9142, allocations: 18.05 kB / 1.224 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002112/0.9144, allocations: 166.2 kB / 1.224 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.9145, allocations: 41.94 kB / 1.224 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/0.9146, allocations: 19.19 kB / 1.224 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007746/0.9153, allocations: 0.6017 MB / 1.225 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.9154, allocations: 32 kB / 1.225 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.9154, allocations: 0 / 1.225 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0006054/0.916, allocations: 300.2 kB / 1.225 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.916, allocations: 52.56 kB / 1.225 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.416e-05/0.9161, allocations: 110 kB / 1.225 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.9161, allocations: 26.89 kB / 1.225 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.086e-05/0.9162, allocations: 93 kB / 1.225 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.9162, allocations: 30.89 kB / 1.225 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.9163, allocations: 21.22 kB / 1.225 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.9164, allocations: 324.6 kB / 1.225 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.323e-05/0.9164, allocations: 15.38 kB / 1.225 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.238e-05/0.9165, allocations: 57.11 kB / 1.226 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.955e-05/0.9166, allocations: 70.14 kB / 1.226 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.9166, allocations: 0.7188 kB / 1.226 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001447/0.9167, allocations: 99.27 kB / 1.226 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.9167, allocations: 9.016 kB / 1.226 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.9168, allocations: 2.375 kB / 1.226 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.9168, allocations: 1.344 kB / 1.226 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.044e-05/0.9169, allocations: 20.62 kB / 1.226 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.9169, allocations: 2.188 kB / 1.226 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.029e-05/0.9169, allocations: 5.844 kB / 1.226 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.9169, allocations: 4 kB / 1.226 GB, free: 13.16 MB / 0.9356 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.571e-05/0.917, allocations: 121.2 kB / 1.226 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.917, allocations: 2.469 kB / 1.226 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.9171, allocations: 8.938 kB / 1.226 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.9171, allocations: 0.9688 kB / 1.226 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.9171, allocations: 0.8438 kB / 1.226 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.9171, allocations: 3.938 kB / 1.226 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.9173, allocations: 181.6 kB / 1.226 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.9173, allocations: 0 / 1.226 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.002e-05/0.9174, allocations: 22.27 kB / 1.226 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.9174, allocations: 4 kB / 1.226 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.9174, allocations: 1.312 kB / 1.226 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.9174, allocations: 448 / 1.226 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.9174, allocations: 0 / 1.226 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.9176, allocations: 173.2 kB / 1.226 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.438e-05/0.9177, allocations: 88.23 kB / 1.226 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.9177, allocations: 5.094 kB / 1.226 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.9178, allocations: 1.781 kB / 1.226 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.945e-05/0.9178, allocations: 10.02 kB / 1.226 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.9178, allocations: 6.219 kB / 1.226 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.741e-05/0.9179, allocations: 86.31 kB / 1.226 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.9179, allocations: 0 / 1.226 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002484/0.9181, allocations: 10.03 kB / 1.226 GB, free: 12.45 MB / 0.9356 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.0001488/0.9183, allocations: 113.2 kB / 1.227 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001403/0.9184, allocations: 49.36 kB / 1.227 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.9184, allocations: 0 / 1.227 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.607e-05/0.9185, allocations: 13.69 kB / 1.227 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.9188, allocations: 11.67 kB / 1.227 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006495/0.9194, allocations: 325.4 kB / 1.227 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.9197, allocations: 0.6858 MB / 1.228 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.596e-05/0.9198, allocations: 7.156 kB / 1.228 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.9198, allocations: 14.78 kB / 1.228 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of SimCode: time 5.01e-07/0.9198, allocations: 0 / 1.228 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of Templates: time 0.003618/0.9234, allocations: 0.6753 MB / 1.228 GB, free: 10.97 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.909931672737002]