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.001852/0.001852, allocations: 113 kB / 17.6 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.002079/0.002079, allocations: 186.8 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.478/1.478, allocations: 225.6 MB / 249.4 MB, free: 3.152 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.667/2.667, allocations: 443.5 MB / 0.7304 GB, free: 13.89 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.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.003038/0.003038, allocations: 67.89 kB / 1.059 GB, free: 432 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3908, allocations: 160.7 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002516/0.3933, allocations: 1.27 MB / 1.217 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004089/0.3974, allocations: 3.304 MB / 1.221 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.158e-05/0.3974, allocations: 0 / 1.221 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.221e-05/0.3975, allocations: 3.938 kB / 1.221 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.933e-05/0.3975, allocations: 7.922 kB / 1.221 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005971/0.3981, allocations: 115.5 kB / 1.221 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.3982, allocations: 31.86 kB / 1.221 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.3983, allocations: 4 kB / 1.221 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.785e-05/0.3983, allocations: 23.91 kB / 1.221 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.247e-05/0.3984, allocations: 19.92 kB / 1.221 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.3984, allocations: 0 / 1.221 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002641/0.3987, allocations: 79.8 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.3987, allocations: 7.984 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.065e-05/0.3987, allocations: 11.94 kB / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.3989, allocations: 75.78 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3989, allocations: 0 / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3989, allocations: 3.938 kB / 1.221 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.3989, allocations: 0 / 1.221 GB, free: 10.4 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.0004959/0.3994, allocations: 343.4 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3995, allocations: 12.03 kB / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.3996, allocations: 8.922 kB / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.3997, allocations: 168.3 kB / 1.221 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.3998, allocations: 8.375 kB / 1.221 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/0.3998, allocations: 8.328 kB / 1.221 GB, free: 9.781 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.3999, allocations: 65.77 kB / 1.222 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.4, allocations: 0 / 1.222 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.4, allocations: 4 kB / 1.222 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.4, allocations: 0 / 1.222 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.399e-05/0.4, allocations: 11.98 kB / 1.222 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002112/0.4002, allocations: 165.7 kB / 1.222 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.4004, allocations: 54.5 kB / 1.222 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.701e-05/0.4004, allocations: 20.84 kB / 1.222 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008203/0.4012, allocations: 0.5909 MB / 1.222 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.4012, allocations: 34.56 kB / 1.222 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.4012, allocations: 0 / 1.222 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.000647/0.4019, allocations: 302.3 kB / 1.223 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.4019, allocations: 59.34 kB / 1.223 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.973e-05/0.402, allocations: 97.84 kB / 1.223 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.4021, allocations: 29.7 kB / 1.223 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.4021, allocations: 84.09 kB / 1.223 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.4021, allocations: 31.73 kB / 1.223 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.319e-05/0.4022, allocations: 25.72 kB / 1.223 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.4023, allocations: 322.8 kB / 1.223 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.055e-05/0.4024, allocations: 12 kB / 1.223 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.009e-05/0.4025, allocations: 57.14 kB / 1.223 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.4026, allocations: 77.52 kB / 1.223 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4026, allocations: 0 / 1.223 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001807/0.4027, allocations: 89.52 kB / 1.223 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.4028, allocations: 11.98 kB / 1.224 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.4028, allocations: 4 kB / 1.224 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.4028, allocations: 0 / 1.224 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.513e-05/0.4029, allocations: 24.06 kB / 1.224 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.4029, allocations: 4 kB / 1.224 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.217e-05/0.4029, allocations: 11.94 kB / 1.224 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.4029, allocations: 4 kB / 1.224 GB, free: 7.293 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.0001063/0.403, allocations: 117.8 kB / 1.224 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.4031, allocations: 4.281 kB / 1.224 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/0.4031, allocations: 11.91 kB / 1.224 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.4031, allocations: 7.922 kB / 1.224 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.4031, allocations: 4 kB / 1.224 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4031, allocations: 7.938 kB / 1.224 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.4034, allocations: 173.6 kB / 1.224 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4034, allocations: 0 / 1.224 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.137e-05/0.4035, allocations: 19.98 kB / 1.224 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.4035, allocations: 0 / 1.224 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.4035, allocations: 0 / 1.224 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.4035, allocations: 4 kB / 1.224 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4035, allocations: 0 / 1.224 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.4037, allocations: 171.4 kB / 1.224 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/0.4038, allocations: 89.14 kB / 1.224 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.4038, allocations: 0 / 1.224 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.4039, allocations: 4 kB / 1.224 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.521e-05/0.4039, allocations: 7.984 kB / 1.224 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.4039, allocations: 7.938 kB / 1.224 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.384e-05/0.404, allocations: 75.28 kB / 1.224 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.404, allocations: 0 / 1.224 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002452/0.4042, allocations: 16 kB / 1.224 GB, free: 6.488 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.0001554/0.4044, allocations: 103.2 kB / 1.224 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001279/0.4045, allocations: 43.92 kB / 1.224 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4045, allocations: 0 / 1.224 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.308e-05/0.4045, allocations: 11.94 kB / 1.224 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.4048, allocations: 9.875 kB / 1.224 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006572/0.4055, allocations: 334.3 kB / 1.225 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.4058, allocations: 0.6912 MB / 1.225 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.594e-05/0.4058, allocations: 7.984 kB / 1.225 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/0.4059, allocations: 15.44 kB / 1.225 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.4059, allocations: 0 / 1.225 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of Templates: time 0.003393/0.4093, allocations: 0.6477 MB / 1.226 GB, free: 4.586 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.409452080726624]