Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.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.001518/0.001518, allocations: 119.9 kB / 17.13 MB, free: 5.758 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.002005/0.002005, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.412/1.412, allocations: 225.6 MB / 248.5 MB, free: 3.633 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.575/2.575, allocations: 443.5 MB / 0.7293 GB, free: 14.55 MB / 0.5763 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.WaterDerivativeCheck,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.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,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.WaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 59.91 kB / 1.057 GB, free: 2.066 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3402, allocations: 160.7 MB / 1.214 GB, free: 1.031 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002559/0.3427, allocations: 1.271 MB / 1.215 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004177/0.3469, allocations: 3.288 MB / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.723e-05/0.3469, allocations: 0 / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.893e-05/0.347, allocations: 3.938 kB / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.443e-05/0.347, allocations: 11.91 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006661/0.3477, allocations: 111.5 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.3478, allocations: 35.84 kB / 1.219 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.3479, allocations: 4 kB / 1.219 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.253e-05/0.3479, allocations: 19.97 kB / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.873e-05/0.348, allocations: 15.92 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.348, allocations: 0 / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.3483, allocations: 83.8 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.3483, allocations: 0 / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.928e-05/0.3484, allocations: 23.91 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.3486, allocations: 71.73 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3486, allocations: 4 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3486, allocations: 0 / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3486, allocations: 0 / 1.219 GB, free: 12.06 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.0005019/0.3491, allocations: 347.4 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3492, allocations: 12.03 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.3493, allocations: 4.938 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.3494, allocations: 164.3 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.3494, allocations: 384 / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.3495, allocations: 16.31 kB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.3496, allocations: 53.81 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3496, allocations: 0 / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.3496, allocations: 7.984 kB / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.3496, allocations: 3.938 kB / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.359e-05/0.3497, allocations: 19.92 kB / 1.219 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002004/0.3499, allocations: 161.7 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.35, allocations: 50.55 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.137e-05/0.35, allocations: 16.86 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008243/0.3509, allocations: 0.5948 MB / 1.22 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.3509, allocations: 38.48 kB / 1.22 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.3509, allocations: 0 / 1.22 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006602/0.3516, allocations: 298.3 kB / 1.221 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.3516, allocations: 55.41 kB / 1.221 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.494e-05/0.3517, allocations: 101.8 kB / 1.221 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3517, allocations: 25.7 kB / 1.221 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.691e-05/0.3518, allocations: 92.08 kB / 1.221 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.3518, allocations: 27.75 kB / 1.221 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/0.3519, allocations: 25.7 kB / 1.221 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.352, allocations: 318.8 kB / 1.221 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.191e-05/0.352, allocations: 19.98 kB / 1.221 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.46e-05/0.3521, allocations: 45.16 kB / 1.221 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.3522, allocations: 85.19 kB / 1.221 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3522, allocations: 0 / 1.221 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001538/0.3524, allocations: 97.5 kB / 1.221 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3524, allocations: 4 kB / 1.221 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3524, allocations: 4 kB / 1.221 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.3524, allocations: 3.938 kB / 1.221 GB, free: 9 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.768e-05/0.3525, allocations: 23.98 kB / 1.221 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3525, allocations: 0 / 1.221 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.712e-05/0.3525, allocations: 8.5 kB / 1.221 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3525, allocations: 8 kB / 1.221 GB, free: 8.961 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 8.336e-05/0.3526, allocations: 113.8 kB / 1.222 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.3526, allocations: 8 kB / 1.222 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.362e-05/0.3527, allocations: 7.969 kB / 1.222 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3527, allocations: 0 / 1.222 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.3527, allocations: 8 kB / 1.222 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.3527, allocations: 7.922 kB / 1.222 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.3529, allocations: 169.7 kB / 1.222 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.353, allocations: 7.984 kB / 1.222 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.607e-05/0.353, allocations: 12 kB / 1.222 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.353, allocations: 0 / 1.222 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.353, allocations: 0 / 1.222 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3531, allocations: 4 kB / 1.222 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3531, allocations: 0 / 1.222 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.3532, allocations: 175.4 kB / 1.222 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.727e-05/0.3533, allocations: 89.14 kB / 1.222 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.3533, allocations: 4 kB / 1.222 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.3534, allocations: 0 / 1.222 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.3534, allocations: 4 kB / 1.222 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.3535, allocations: 7.938 kB / 1.222 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.572e-05/0.3535, allocations: 83.27 kB / 1.222 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3535, allocations: 0 / 1.222 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002331/0.3537, allocations: 12 kB / 1.222 GB, free: 8.164 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.0001458/0.3539, allocations: 107.2 kB / 1.222 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001279/0.354, allocations: 43.84 kB / 1.222 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.354, allocations: 4 kB / 1.222 GB, free: 8 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.537e-05/0.354, allocations: 15.98 kB / 1.222 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.3543, allocations: 9.875 kB / 1.222 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006362/0.355, allocations: 352.1 kB / 1.223 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.3553, allocations: 0.6884 MB / 1.223 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.3553, allocations: 11.44 kB / 1.223 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of SimCode: time 3.1e-07/0.3553, allocations: 0 / 1.223 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of Templates: time 0.00241/0.3577, allocations: 0.7853 MB / 1.224 GB, free: 6.094 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_WaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.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.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.329165917122737]