Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001678/0.001678, allocations: 110.2 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.002213/0.002213, 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.548/1.548, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.908/2.908, allocations: 476.7 MB / 0.7646 GB, free: 9.871 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Media.Examples.WaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 67.89 kB / 1.109 GB, free: 6.379 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9645/0.9666, allocations: 168.8 MB / 1.274 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002929/0.9695, allocations: 1.278 MB / 1.276 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004899/0.9744, allocations: 3.308 MB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.64e-05/0.9745, allocations: 0 / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.9745, allocations: 3.938 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.123e-05/0.9745, allocations: 3.984 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006861/0.9752, allocations: 111.5 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.9753, allocations: 35.92 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.588e-05/0.9754, allocations: 3.984 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.112e-05/0.9754, allocations: 27.86 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.264e-05/0.9755, allocations: 11.98 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.9755, allocations: 4 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002869/0.9758, allocations: 79.78 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.9758, allocations: 11.94 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.552e-05/0.9759, allocations: 23.91 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.9761, allocations: 58.25 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.9761, allocations: 0 / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9761, allocations: 11.94 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.9761, allocations: 0 / 1.279 GB, free: 15.29 MB / 0.9825 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.0004873/0.9766, allocations: 270.3 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.9767, allocations: 8.031 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.9768, allocations: 4.938 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.9769, allocations: 118.4 kB / 1.28 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.9769, allocations: 384 / 1.28 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.977, allocations: 8.312 kB / 1.28 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.9771, allocations: 65.78 kB / 1.28 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.9771, allocations: 0 / 1.28 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.9771, allocations: 0 / 1.28 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.9771, allocations: 4 kB / 1.28 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.055e-05/0.9772, allocations: 19.97 kB / 1.28 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001937/0.9774, allocations: 132.8 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.9775, allocations: 46.5 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.825e-05/0.9775, allocations: 20.84 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007101/0.9783, allocations: 258 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.9783, allocations: 34.56 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.9783, allocations: 0 / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006389/0.9789, allocations: 213.2 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.979, allocations: 55.41 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.323e-05/0.9791, allocations: 105.8 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.9791, allocations: 29.7 kB / 1.28 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/0.9792, allocations: 88.09 kB / 1.281 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.9792, allocations: 27.75 kB / 1.281 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/0.9792, allocations: 29.64 kB / 1.281 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.9794, allocations: 318.8 kB / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.103e-05/0.9794, allocations: 15.98 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.211e-05/0.9795, allocations: 53.14 kB / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.9796, allocations: 69.09 kB / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.9796, allocations: 4 kB / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001474/0.9797, allocations: 97.94 kB / 1.281 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.9797, allocations: 4 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.9797, allocations: 4 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.9798, allocations: 0 / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.9798, allocations: 23.92 kB / 1.281 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.9799, allocations: 12.06 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.844e-05/0.9799, allocations: 3.938 kB / 1.281 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.9799, allocations: 12.12 kB / 1.281 GB, free: 12.91 MB / 0.9825 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.58e-05/0.98, allocations: 117.8 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.98, allocations: 4.281 kB / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.568e-05/0.9801, allocations: 12.05 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.9801, allocations: 3.984 kB / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.9801, allocations: 0 / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.9801, allocations: 3.938 kB / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.9803, allocations: 148.8 kB / 1.281 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.9803, allocations: 0 / 1.281 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.443e-05/0.9804, allocations: 16 kB / 1.282 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.9804, allocations: 3.938 kB / 1.282 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.9804, allocations: 4 kB / 1.282 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.9804, allocations: 0 / 1.282 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.9804, allocations: 4 kB / 1.282 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.9806, allocations: 175.4 kB / 1.282 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.507e-05/0.9807, allocations: 8.031 kB / 1.282 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.9807, allocations: 0 / 1.282 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.9808, allocations: 7.938 kB / 1.282 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.9808, allocations: 7.984 kB / 1.282 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.9808, allocations: 11.94 kB / 1.282 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.109e-05/0.9808, allocations: 75.28 kB / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9808, allocations: 0 / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002469/0.9811, allocations: 16 kB / 1.282 GB, free: 12.23 MB / 0.9825 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.0001383/0.9812, allocations: 99.19 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001279/0.9814, allocations: 47.91 kB / 1.282 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.9814, allocations: 0 / 1.282 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.746e-05/0.9814, allocations: 19.92 kB / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.9817, allocations: 8 kB / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006467/0.9823, allocations: 319.2 kB / 1.282 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.9827, allocations: 0.6807 MB / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.906e-05/0.9827, allocations: 15.97 kB / 1.283 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.9828, allocations: 11.44 kB / 1.283 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.9828, allocations: 0 / 1.283 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of Templates: time 0.003786/0.9866, allocations: 0.6673 MB / 1.284 GB, free: 10.31 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.371019867248833]