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.00148/0.00148, allocations: 79.36 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001863/0.001863, allocations: 161.8 kB / 22.45 MB, free: 5.375 MB / 14.72 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.518/1.518, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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 2.885/2.885, allocations: 377.8 MB / 0.6221 GB, free: 12.63 MB / 0.5919 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 2.355e-06/2.355e-06, allocations: 0 / 0.9814 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.809e-05/4.045e-05, allocations: 2.281 kB / 0.9814 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.003713/0.003753, allocations: 1.274 MB / 0.9826 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006266/0.01002, allocations: 3.086 MB / 0.9856 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.477e-05/0.01006, allocations: 0 / 0.9856 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.519e-05/0.01009, allocations: 7.922 kB / 0.9856 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.761e-05/0.01017, allocations: 3.938 kB / 0.9856 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008171/0.01098, allocations: 111.4 kB / 0.9858 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.0111, allocations: 31.86 kB / 0.9858 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.284e-05/0.01115, allocations: 4 kB / 0.9858 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.01126, allocations: 35.89 kB / 0.9858 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.397e-05/0.01134, allocations: 7.984 kB / 0.9858 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.01136, allocations: 4 kB / 0.9858 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003038/0.01166, allocations: 71.69 kB / 0.9859 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.798e-05/0.01169, allocations: 7.984 kB / 0.9859 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.523e-05/0.01174, allocations: 15.98 kB / 0.9859 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.01202, allocations: 71.78 kB / 0.986 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.01203, allocations: 0 / 0.986 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.183e-06/0.01203, allocations: 0 / 0.986 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.01203, allocations: 0 / 0.986 GB, free: 7.316 MB / 0.9356 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.0005535/0.01259, allocations: 274.3 kB / 0.9863 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/0.01265, allocations: 12.03 kB / 0.9863 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.01281, allocations: 4.938 kB / 0.9863 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.01296, allocations: 109.7 kB / 0.9864 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.01298, allocations: 4.375 kB / 0.9864 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.01302, allocations: 4.375 kB / 0.9864 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.0133, allocations: 135.3 kB / 0.9865 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.01331, allocations: 192 / 0.9865 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.01334, allocations: 4.125 kB / 0.9865 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.01334, allocations: 0 / 0.9865 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.001e-05/0.01343, allocations: 23.98 kB / 0.9865 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/0.01367, allocations: 113.2 kB / 0.9866 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.01384, allocations: 46.56 kB / 0.9867 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.889e-05/0.01388, allocations: 20.8 kB / 0.9867 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000823/0.01471, allocations: 245.8 kB / 0.9869 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.01474, allocations: 30.56 kB / 0.987 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.01475, allocations: 0 / 0.987 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0008414/0.01559, allocations: 229.5 kB / 0.9872 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.01564, allocations: 55.41 kB / 0.9872 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.01576, allocations: 101.8 kB / 0.9873 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.01579, allocations: 29.64 kB / 0.9874 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.768e-05/0.01588, allocations: 88.09 kB / 0.9875 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.01592, allocations: 23.75 kB / 0.9875 GB, free: 5.578 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.386e-05/0.01598, allocations: 29.7 kB / 0.9875 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.01617, allocations: 318.8 kB / 0.9878 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.564e-05/0.01622, allocations: 11.98 kB / 0.9878 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.01632, allocations: 61.02 kB / 0.9879 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.01648, allocations: 77.03 kB / 0.988 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.01648, allocations: 0 / 0.988 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002923/0.01677, allocations: 101.7 kB / 0.9881 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.01679, allocations: 8 kB / 0.9881 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.0168, allocations: 0 / 0.9881 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.01682, allocations: 4 kB / 0.9881 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.01694, allocations: 23.92 kB / 0.9881 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.01695, allocations: 4.125 kB / 0.9881 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.249e-05/0.01701, allocations: 4 kB / 0.9881 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.01702, allocations: 4 kB / 0.9881 GB, free: 4.887 MB / 0.9356 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.0001208/0.01714, allocations: 117.8 kB / 0.9882 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.01718, allocations: 0 / 0.9882 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.353e-05/0.01723, allocations: 12.11 kB / 0.9882 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.01723, allocations: 4 kB / 0.9882 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.01724, allocations: 0 / 0.9882 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01724, allocations: 0 / 0.9882 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.01759, allocations: 125.2 kB / 0.9883 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01759, allocations: 0 / 0.9883 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.01773, allocations: 19.94 kB / 0.9884 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.01774, allocations: 3.984 kB / 0.9884 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.01775, allocations: 0 / 0.9884 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.01775, allocations: 4.438 kB / 0.9884 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01775, allocations: 3.938 kB / 0.9884 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.01813, allocations: 171.4 kB / 0.9885 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.01817, allocations: 8.031 kB / 0.9885 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.0182, allocations: 4 kB / 0.9886 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.01836, allocations: 4 kB / 0.9886 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.01839, allocations: 7.984 kB / 0.9886 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.0184, allocations: 8 kB / 0.9886 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001167/0.01852, allocations: 79.28 kB / 0.9886 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.01852, allocations: 0 / 0.9886 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004173/0.01893, allocations: 12 kB / 0.9887 GB, free: 4.262 MB / 0.9356 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.0002321/0.01917, allocations: 103.2 kB / 0.9888 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001693/0.01934, allocations: 43.92 kB / 0.9888 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.01934, allocations: 0 / 0.9888 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.932e-05/0.01938, allocations: 12.25 kB / 0.9888 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004792/0.01986, allocations: 11.94 kB / 0.9888 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008819/0.02074, allocations: 264.9 kB / 0.9891 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.02084, allocations: 75.33 kB / 0.9891 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.24e-05/0.0209, allocations: 0 / 0.9891 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.37e-05/0.02096, allocations: 12.5 kB / 0.9892 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/0.02096, allocations: 4 kB / 0.9892 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of Templates: time 0.005822/0.02678, allocations: 0.6274 MB / 0.9898 GB, free: 3.074 MB / 0.9356 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 400] 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.390724841505289]