Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002527/0.002527, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002596/0.002596, allocations: 165.7 kB / 23.55 MB, free: 0.8672 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.05/3.05, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Media.Examples.WaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 0.8107 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.981e-05/5.154e-05, allocations: 10.8 kB / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.00363/0.003682, allocations: 1.29 MB / 0.812 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.006976/0.01066, allocations: 3.347 MB / 0.8153 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.158e-05/0.0107, allocations: 0 / 0.8153 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.359e-05/0.01072, allocations: 4.969 kB / 0.8153 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.369e-05/0.01081, allocations: 11.91 kB / 0.8153 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007586/0.01157, allocations: 109.1 kB / 0.8154 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.01169, allocations: 39.84 kB / 0.8154 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.556e-05/0.01172, allocations: 0.5312 kB / 0.8154 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.328e-05/0.01181, allocations: 29.22 kB / 0.8155 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.918e-05/0.01191, allocations: 15.97 kB / 0.8155 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.01193, allocations: 0 / 0.8155 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003091/0.01224, allocations: 71.7 kB / 0.8156 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.175e-05/0.01226, allocations: 5.109 kB / 0.8156 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.362e-05/0.01232, allocations: 15.98 kB / 0.8156 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.01259, allocations: 67.8 kB / 0.8156 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.01259, allocations: 0.5 kB / 0.8156 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.024e-06/0.01259, allocations: 0.875 kB / 0.8156 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.0126, allocations: 0 / 0.8156 GB, free: 13.14 MB / 0.7761 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.0006774/0.01328, allocations: 377.9 kB / 0.816 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.01332, allocations: 8.031 kB / 0.816 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.0135, allocations: 16.83 kB / 0.816 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.01365, allocations: 108.6 kB / 0.8161 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.01367, allocations: 5.906 kB / 0.8161 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/0.01371, allocations: 12.36 kB / 0.8161 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.01398, allocations: 131.3 kB / 0.8163 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.01399, allocations: 192 / 0.8163 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.01402, allocations: 8.625 kB / 0.8163 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.01403, allocations: 5.547 kB / 0.8163 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.968e-05/0.01412, allocations: 15.98 kB / 0.8163 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.01437, allocations: 120.6 kB / 0.8164 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.01455, allocations: 58.97 kB / 0.8165 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.628e-05/0.01461, allocations: 20.56 kB / 0.8165 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008809/0.01549, allocations: 296.5 kB / 0.8168 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/0.01554, allocations: 35.11 kB / 0.8168 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.01554, allocations: 0 / 0.8168 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0008697/0.01641, allocations: 245.9 kB / 0.817 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.01647, allocations: 52.03 kB / 0.8171 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.01666, allocations: 161.9 kB / 0.8172 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.01669, allocations: 30.39 kB / 0.8173 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.01682, allocations: 139.3 kB / 0.8174 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.01685, allocations: 19.86 kB / 0.8174 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.83e-05/0.01694, allocations: 40.41 kB / 0.8175 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000365/0.0173, allocations: 0.4884 MB / 0.8179 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.505e-05/0.01736, allocations: 15.98 kB / 0.818 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.01749, allocations: 63.38 kB / 0.818 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.0177, allocations: 96.27 kB / 0.8181 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.0177, allocations: 3.938 kB / 0.8181 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002742/0.01798, allocations: 102.3 kB / 0.8182 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.018, allocations: 4 kB / 0.8182 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.01801, allocations: 5.938 kB / 0.8182 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.01803, allocations: 0 / 0.8182 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.01816, allocations: 19.98 kB / 0.8182 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.01817, allocations: 4 kB / 0.8182 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.01823, allocations: 0 / 0.8182 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.01825, allocations: 8.781 kB / 0.8183 GB, free: 10.16 MB / 0.7761 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.0001821/0.01843, allocations: 171.8 kB / 0.8184 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.065e-05/0.01849, allocations: 11.95 kB / 0.8184 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.868e-05/0.01854, allocations: 12.12 kB / 0.8184 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.01854, allocations: 0 / 0.8184 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.01855, allocations: 0 / 0.8184 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.01856, allocations: 4.266 kB / 0.8184 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/0.01895, allocations: 132.6 kB / 0.8186 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01896, allocations: 0 / 0.8186 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.0191, allocations: 12 kB / 0.8186 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.01911, allocations: 7.922 kB / 0.8186 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.01912, allocations: 4.625 kB / 0.8186 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.01913, allocations: 5.109 kB / 0.8186 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.01913, allocations: 0 / 0.8186 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000371/0.0195, allocations: 227.8 kB / 0.8188 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.01954, allocations: 13.06 kB / 0.8188 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.01957, allocations: 4 kB / 0.8188 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.01971, allocations: 0 / 0.8188 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.01974, allocations: 8.484 kB / 0.8188 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.01975, allocations: 0 / 0.8188 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001092/0.01986, allocations: 127.9 kB / 0.819 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.01986, allocations: 0 / 0.819 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004582/0.02032, allocations: 13.25 kB / 0.819 GB, free: 9.355 MB / 0.7761 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.0001958/0.02051, allocations: 100 kB / 0.8191 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.02071, allocations: 52.09 kB / 0.8191 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.02072, allocations: 5.094 kB / 0.8191 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.348e-05/0.02077, allocations: 19.69 kB / 0.8191 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.02119, allocations: 18.27 kB / 0.8192 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008205/0.02201, allocations: 280.1 kB / 0.8194 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.02211, allocations: 71.34 kB / 0.8195 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.463e-05/0.02218, allocations: 4 kB / 0.8195 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.02221, allocations: 8.5 kB / 0.8195 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of SimCode: time 6.91e-07/0.02221, allocations: 8 kB / 0.8195 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of Templates: time 0.005205/0.02742, allocations: 0.6349 MB / 0.8201 GB, free: 8.133 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.093896111939102]