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.001631/0.001631, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001963/0.001963, allocations: 186 kB / 20.78 MB, free: 1.547 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.572/1.572, allocations: 225.6 MB / 249.4 MB, free: 3.164 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.636/2.636, allocations: 443.4 MB / 0.7304 GB, free: 13.88 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.002037/0.002037, allocations: 75.81 kB / 1.059 GB, free: 400 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3535, allocations: 160.7 MB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002655/0.3561, allocations: 1.27 MB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00428/0.3604, allocations: 2.978 MB / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.425e-05/0.3605, allocations: 0 / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.344e-05/0.3605, allocations: 3.938 kB / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.301e-05/0.3605, allocations: 11.91 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005439/0.3611, allocations: 107.5 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.775e-05/0.3612, allocations: 31.86 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/0.3612, allocations: 7.984 kB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005183/0.3617, allocations: 167.4 kB / 1.221 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.29e-05/0.3618, allocations: 11.98 kB / 1.221 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.3618, allocations: 4 kB / 1.221 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.3619, allocations: 63.86 kB / 1.221 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.362, allocations: 11.94 kB / 1.221 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.362, allocations: 23.91 kB / 1.221 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.3622, allocations: 51.88 kB / 1.221 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3622, allocations: 7.938 kB / 1.221 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3622, allocations: 4 kB / 1.221 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3622, allocations: 0 / 1.221 GB, free: 10.58 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.0004986/0.3627, allocations: 351.3 kB / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3627, allocations: 8.031 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.3628, allocations: 4.938 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.3629, allocations: 164.4 kB / 1.221 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.3629, allocations: 8.375 kB / 1.221 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.3629, allocations: 4.328 kB / 1.221 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.3631, allocations: 61.78 kB / 1.221 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3631, allocations: 4 kB / 1.221 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3631, allocations: 0 / 1.221 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3631, allocations: 0 / 1.221 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.652e-05/0.3632, allocations: 27.91 kB / 1.221 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002102/0.3634, allocations: 161.6 kB / 1.221 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.714e-05/0.3635, allocations: 50.56 kB / 1.222 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.451e-05/0.3635, allocations: 16.84 kB / 1.222 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007995/0.3643, allocations: 0.5871 MB / 1.222 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.3644, allocations: 34.56 kB / 1.222 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.3644, allocations: 0 / 1.222 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006518/0.365, allocations: 318.3 kB / 1.222 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.365, allocations: 51.41 kB / 1.223 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.92e-05/0.3651, allocations: 101.8 kB / 1.223 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.3652, allocations: 25.7 kB / 1.223 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/0.3652, allocations: 84.09 kB / 1.223 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.3652, allocations: 31.73 kB / 1.223 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-05/0.3653, allocations: 29.72 kB / 1.223 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3654, allocations: 322.8 kB / 1.223 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.848e-05/0.3655, allocations: 8 kB / 1.223 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.912e-05/0.3655, allocations: 61.02 kB / 1.223 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.3656, allocations: 81.02 kB / 1.223 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.3656, allocations: 0 / 1.223 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001427/0.3658, allocations: 97.67 kB / 1.223 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3658, allocations: 8 kB / 1.223 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.3658, allocations: 0 / 1.223 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.3658, allocations: 4.125 kB / 1.223 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.806e-05/0.3659, allocations: 24 kB / 1.223 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.3659, allocations: 0 / 1.223 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.175e-05/0.3659, allocations: 11.92 kB / 1.223 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.3659, allocations: 4 kB / 1.223 GB, free: 7.469 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 0.0001002/0.366, allocations: 117.8 kB / 1.223 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.3661, allocations: 0 / 1.223 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.3661, allocations: 7.969 kB / 1.223 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3661, allocations: 4 kB / 1.223 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.3661, allocations: 4 kB / 1.223 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.3661, allocations: 3.938 kB / 1.223 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.3664, allocations: 177.6 kB / 1.224 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3664, allocations: 0 / 1.224 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.755e-05/0.3665, allocations: 15.98 kB / 1.224 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3665, allocations: 0 / 1.224 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.3665, allocations: 4 kB / 1.224 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3665, allocations: 0 / 1.224 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.3665, allocations: 0 / 1.224 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.3667, allocations: 179.4 kB / 1.224 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.561e-05/0.3668, allocations: 81.55 kB / 1.224 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.3668, allocations: 0 / 1.224 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.3669, allocations: 12.03 kB / 1.224 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.367, allocations: 4 kB / 1.224 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.367, allocations: 7.938 kB / 1.224 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.46e-05/0.367, allocations: 75.28 kB / 1.224 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.367, allocations: 0 / 1.224 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002381/0.3673, allocations: 19.94 kB / 1.224 GB, free: 6.672 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.0001775/0.3674, allocations: 111.2 kB / 1.224 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001323/0.3676, allocations: 39.86 kB / 1.224 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3676, allocations: 0 / 1.224 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.858e-05/0.3676, allocations: 16 kB / 1.224 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.3679, allocations: 4 kB / 1.224 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000645/0.3686, allocations: 330.5 kB / 1.225 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.3689, allocations: 0.6923 MB / 1.225 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.18e-05/0.3689, allocations: 0 / 1.225 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.011e-05/0.369, allocations: 11.44 kB / 1.225 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of SimCode: time 6.61e-07/0.369, allocations: 4 kB / 1.225 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of Templates: time 0.003483/0.3724, allocations: 0.6584 MB / 1.226 GB, free: 4.762 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/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.35950324870646]