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.001514/0.001514, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001578/0.001578, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.439/1.439, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.573/2.573, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001918/0.001918, allocations: 63.91 kB / 1.057 GB, free: 2.031 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3113, allocations: 160.7 MB / 1.214 GB, free: 1.008 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002771/0.3141, allocations: 1.276 MB / 1.215 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004283/0.3184, allocations: 2.962 MB / 1.218 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.776e-05/0.3184, allocations: 0 / 1.218 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.303e-05/0.3184, allocations: 0 / 1.218 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.081e-05/0.3185, allocations: 11.92 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004914/0.319, allocations: 99.53 kB / 1.218 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.651e-05/0.3191, allocations: 35.92 kB / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.3191, allocations: 7.984 kB / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004972/0.3196, allocations: 155.5 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.762e-05/0.3197, allocations: 19.92 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.3197, allocations: 0 / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.3198, allocations: 71.86 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.188e-05/0.3199, allocations: 0 / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.3199, allocations: 23.91 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.3201, allocations: 59.81 kB / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3201, allocations: 0 / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3201, allocations: 4 kB / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.3201, allocations: 0 / 1.219 GB, free: 12.26 MB / 0.9669 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.0004657/0.3206, allocations: 351.4 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3206, allocations: 8.031 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.3206, allocations: 4.938 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.3208, allocations: 164.3 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.3208, allocations: 384 / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.3208, allocations: 8.328 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.321, allocations: 65.78 kB / 1.219 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.321, allocations: 3.938 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.321, allocations: 4 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.321, allocations: 0 / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.337e-05/0.321, allocations: 15.98 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002271/0.3213, allocations: 169.6 kB / 1.219 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.3214, allocations: 46.5 kB / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.649e-05/0.3214, allocations: 20.84 kB / 1.219 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008828/0.3223, allocations: 0.5988 MB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.3223, allocations: 30.56 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3223, allocations: 0 / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006154/0.323, allocations: 298.7 kB / 1.22 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.323, allocations: 59.41 kB / 1.22 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.195e-05/0.3231, allocations: 105.8 kB / 1.221 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.3231, allocations: 25.7 kB / 1.221 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.3232, allocations: 84.09 kB / 1.221 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.3232, allocations: 31.73 kB / 1.221 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.3232, allocations: 25.72 kB / 1.221 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.3234, allocations: 322.8 kB / 1.221 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.65e-05/0.3234, allocations: 8 kB / 1.221 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.714e-05/0.3235, allocations: 61.14 kB / 1.221 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.869e-05/0.3236, allocations: 81.25 kB / 1.221 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3236, allocations: 0 / 1.221 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000147/0.3237, allocations: 97.5 kB / 1.221 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.3237, allocations: 7.938 kB / 1.221 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3237, allocations: 7.938 kB / 1.221 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3237, allocations: 0 / 1.221 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.366e-05/0.3238, allocations: 16 kB / 1.221 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.3238, allocations: 4 kB / 1.221 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.779e-05/0.3239, allocations: 3.938 kB / 1.221 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.3239, allocations: 8.125 kB / 1.221 GB, free: 9.152 MB / 0.9669 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 9.248e-05/0.324, allocations: 121.8 kB / 1.221 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.324, allocations: 4 kB / 1.221 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.168e-05/0.324, allocations: 7.969 kB / 1.221 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.324, allocations: 0 / 1.221 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.324, allocations: 0 / 1.221 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.324, allocations: 7.938 kB / 1.221 GB, free: 9 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.3243, allocations: 177.7 kB / 1.222 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3243, allocations: 0 / 1.222 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.626e-05/0.3244, allocations: 19.98 kB / 1.222 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3244, allocations: 0 / 1.222 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.3244, allocations: 0 / 1.222 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3244, allocations: 0 / 1.222 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3244, allocations: 4 kB / 1.222 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.3246, allocations: 175.5 kB / 1.222 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-05/0.3247, allocations: 81.11 kB / 1.222 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.3247, allocations: 4 kB / 1.222 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.3248, allocations: 4 kB / 1.222 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.3248, allocations: 7.984 kB / 1.222 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.3248, allocations: 7.938 kB / 1.222 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.922e-05/0.3248, allocations: 79.28 kB / 1.222 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3248, allocations: 0 / 1.222 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000229/0.3251, allocations: 12 kB / 1.222 GB, free: 8.355 MB / 0.9669 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.0001452/0.3252, allocations: 111.2 kB / 1.222 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001255/0.3253, allocations: 43.98 kB / 1.222 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3253, allocations: 0 / 1.222 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.69e-05/0.3254, allocations: 15.94 kB / 1.222 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.3257, allocations: 6.406 kB / 1.222 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006009/0.3263, allocations: 364.1 kB / 1.222 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.3266, allocations: 0.6846 MB / 1.223 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.3266, allocations: 15.38 kB / 1.223 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of SimCode: time 3.1e-07/0.3266, allocations: 8 kB / 1.223 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of Templates: time 0.002528/0.3291, allocations: 0.7773 MB / 1.224 GB, free: 6.281 MB / 0.9669 GB " [Timeout remaining time 300] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.300052535953]