Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001776/0.001776, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002037/0.002037, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.541/1.541, 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 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.057/3.057, allocations: 496.2 MB / 0.7819 GB, free: 12.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Media.Examples.WaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 63.89 kB / 1.136 GB, free: 12.48 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206/1.208, allocations: 173.7 MB / 1.305 GB, free: 33.44 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002148/1.21, allocations: 1.271 MB / 1.307 GB, free: 32.55 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00309/1.213, allocations: 3.297 MB / 1.31 GB, free: 30.16 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.294e-05/1.213, allocations: 2.625 kB / 1.31 GB, free: 30.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.345e-05/1.213, allocations: 11.22 kB / 1.31 GB, free: 30.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.184e-05/1.213, allocations: 3.938 kB / 1.31 GB, free: 30.15 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005023/1.214, allocations: 110.1 kB / 1.31 GB, free: 30.09 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.25e-05/1.214, allocations: 32.34 kB / 1.31 GB, free: 30.08 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/1.214, allocations: 6.031 kB / 1.31 GB, free: 30.08 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.463e-05/1.214, allocations: 14.56 kB / 1.31 GB, free: 30.08 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.44e-05/1.214, allocations: 23.94 kB / 1.31 GB, free: 30.07 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/1.214, allocations: 6.938 kB / 1.31 GB, free: 30.06 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/1.214, allocations: 79.33 kB / 1.31 GB, free: 30.03 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/1.214, allocations: 11.92 kB / 1.31 GB, free: 30.02 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/1.214, allocations: 14.97 kB / 1.31 GB, free: 30.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/1.214, allocations: 68.83 kB / 1.31 GB, free: 30 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/1.214, allocations: 0 / 1.31 GB, free: 30 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.182e-06/1.214, allocations: 0 / 1.31 GB, free: 30 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.315e-05/1.214, allocations: 0 / 1.31 GB, free: 30 MB / 1.061 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.0003801/1.215, allocations: 350.2 kB / 1.311 GB, free: 29.63 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/1.215, allocations: 12.84 kB / 1.311 GB, free: 29.63 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/1.215, allocations: 6.812 kB / 1.311 GB, free: 29.63 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.155e-05/1.215, allocations: 164.3 kB / 1.311 GB, free: 29.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/1.215, allocations: 7.281 kB / 1.311 GB, free: 29.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/1.215, allocations: 3.219 kB / 1.311 GB, free: 29.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/1.215, allocations: 63.12 kB / 1.311 GB, free: 29.38 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/1.215, allocations: 0 / 1.311 GB, free: 29.38 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/1.215, allocations: 2.781 kB / 1.311 GB, free: 29.38 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/1.215, allocations: 3.938 kB / 1.311 GB, free: 29.38 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.738e-05/1.215, allocations: 18.66 kB / 1.311 GB, free: 29.37 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/1.215, allocations: 165.6 kB / 1.311 GB, free: 29.17 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.826e-05/1.215, allocations: 53.16 kB / 1.311 GB, free: 29.14 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.694e-05/1.215, allocations: 22.09 kB / 1.311 GB, free: 29.12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005807/1.216, allocations: 0.5935 MB / 1.312 GB, free: 28.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/1.216, allocations: 41.62 kB / 1.312 GB, free: 28.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/1.216, allocations: 0 / 1.312 GB, free: 28.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0005087/1.216, allocations: 295.4 kB / 1.312 GB, free: 28.16 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/1.217, allocations: 54.06 kB / 1.312 GB, free: 28.09 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.288e-05/1.217, allocations: 96.31 kB / 1.312 GB, free: 28 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/1.217, allocations: 29.7 kB / 1.312 GB, free: 27.96 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.737e-05/1.217, allocations: 91.03 kB / 1.312 GB, free: 27.87 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/1.217, allocations: 34.06 kB / 1.312 GB, free: 27.84 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/1.217, allocations: 26.44 kB / 1.312 GB, free: 27.82 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.462e-05/1.217, allocations: 318 kB / 1.313 GB, free: 27.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.428e-05/1.217, allocations: 12.66 kB / 1.313 GB, free: 27.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.691e-05/1.217, allocations: 56.06 kB / 1.313 GB, free: 27.44 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.403e-05/1.217, allocations: 73.06 kB / 1.313 GB, free: 27.38 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/1.217, allocations: 0 / 1.313 GB, free: 27.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001074/1.217, allocations: 93.77 kB / 1.313 GB, free: 27.32 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/1.217, allocations: 10 kB / 1.313 GB, free: 27.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.217, allocations: 6.25 kB / 1.313 GB, free: 27.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/1.217, allocations: 7.031 kB / 1.313 GB, free: 27.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.771e-05/1.217, allocations: 20.22 kB / 1.313 GB, free: 27.31 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/1.217, allocations: 0 / 1.313 GB, free: 27.31 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.693e-05/1.217, allocations: 14.84 kB / 1.313 GB, free: 27.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/1.217, allocations: 2.875 kB / 1.313 GB, free: 27.3 MB / 1.061 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 5.506e-05/1.217, allocations: 118.4 kB / 1.313 GB, free: 27.18 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/1.217, allocations: 0 / 1.313 GB, free: 27.18 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.836e-05/1.217, allocations: 14.56 kB / 1.313 GB, free: 27.17 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/1.217, allocations: 0 / 1.313 GB, free: 27.17 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.217, allocations: 0 / 1.313 GB, free: 27.17 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.217, allocations: 6.5 kB / 1.313 GB, free: 27.17 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/1.217, allocations: 167.1 kB / 1.313 GB, free: 26.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.217, allocations: 3.188 kB / 1.313 GB, free: 26.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.872e-05/1.217, allocations: 22.31 kB / 1.313 GB, free: 26.97 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/1.217, allocations: 0.7188 kB / 1.313 GB, free: 26.97 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/1.217, allocations: 0 / 1.313 GB, free: 26.97 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/1.217, allocations: 3 kB / 1.313 GB, free: 26.97 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.217, allocations: 8 kB / 1.313 GB, free: 26.96 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/1.218, allocations: 183.5 kB / 1.313 GB, free: 26.8 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.099e-05/1.218, allocations: 77.11 kB / 1.313 GB, free: 26.71 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/1.218, allocations: 2.562 kB / 1.313 GB, free: 26.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.931e-05/1.218, allocations: 9.906 kB / 1.313 GB, free: 26.71 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/1.218, allocations: 2.719 kB / 1.313 GB, free: 26.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/1.218, allocations: 3.938 kB / 1.313 GB, free: 26.7 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.407e-05/1.218, allocations: 89.17 kB / 1.314 GB, free: 26.62 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.1e-08/1.218, allocations: 0 / 1.314 GB, free: 26.62 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002306/1.218, allocations: 14.75 kB / 1.314 GB, free: 26.62 MB / 1.061 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.0001076/1.218, allocations: 100.8 kB / 1.314 GB, free: 26.52 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001181/1.218, allocations: 45.09 kB / 1.314 GB, free: 26.51 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.218, allocations: 0 / 1.314 GB, free: 26.51 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.911e-05/1.218, allocations: 14.58 kB / 1.314 GB, free: 26.51 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/1.219, allocations: 10.97 kB / 1.314 GB, free: 26.5 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005001/1.219, allocations: 325.4 kB / 1.314 GB, free: 26.24 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.894e-05/1.219, allocations: 0.6844 MB / 1.315 GB, free: 25.54 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.921e-05/1.219, allocations: 13.33 kB / 1.315 GB, free: 25.54 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.231e-05/1.219, allocations: 10.38 kB / 1.315 GB, free: 25.53 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/1.219, allocations: 3.938 kB / 1.315 GB, free: 25.52 MB / 1.061 GB Notification: Performance of Templates: time 0.002974/1.222, allocations: 0.645 MB / 1.315 GB, free: 25.43 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.094435378909111]