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.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.0007578/0.0007578, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007457/0.0007457, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8908/0.8908, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.65/1.65, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.853e-06/1.853e-06, allocations: 0 / 0.9517 GB, free: 3.047 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.742e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.043 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001658/0.001685, allocations: 1.266 MB / 0.9529 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002673/0.004358, allocations: 3.071 MB / 0.9559 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.849e-05/0.004387, allocations: 4 kB / 0.9559 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 1.936e-05/0.004406, allocations: 3.938 kB / 0.9559 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 4.268e-05/0.004449, allocations: 0 / 0.9559 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/0.004912, allocations: 107.4 kB / 0.956 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 7.506e-05/0.004987, allocations: 43.83 kB / 0.9561 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.609e-05/0.005023, allocations: 3.938 kB / 0.9561 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 6.129e-05/0.005084, allocations: 19.98 kB / 0.9561 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 6.024e-05/0.005144, allocations: 19.97 kB / 0.9561 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.005157, allocations: 4 kB / 0.9561 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.005325, allocations: 71.69 kB / 0.9562 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.00534, allocations: 11.92 kB / 0.9562 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.00536, allocations: 8 kB / 0.9562 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.005515, allocations: 71.83 kB / 0.9563 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.005517, allocations: 0 / 0.9563 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.222e-06/0.005518, allocations: 0 / 0.9563 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.005523, allocations: 3.938 kB / 0.9563 GB, free: 14.3 MB / 0.9167 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.0003443/0.005868, allocations: 280.3 kB / 0.9566 GB, free: 14 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.005909, allocations: 15.97 kB / 0.9566 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.00601, allocations: 8.938 kB / 0.9566 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.334e-05/0.006094, allocations: 105.8 kB / 0.9567 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.006107, allocations: 4.375 kB / 0.9567 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.006135, allocations: 8.328 kB / 0.9567 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.00628, allocations: 135.3 kB / 0.9568 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.006288, allocations: 192 / 0.9568 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.006301, allocations: 4.125 kB / 0.9568 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.299e-06/0.006306, allocations: 4 kB / 0.9568 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.409e-05/0.006351, allocations: 15.92 kB / 0.9568 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001272/0.006478, allocations: 113.3 kB / 0.9569 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.099e-05/0.006559, allocations: 50.56 kB / 0.957 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.562e-05/0.006584, allocations: 12.84 kB / 0.957 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004602/0.007045, allocations: 254 kB / 0.9573 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.007065, allocations: 38.5 kB / 0.9573 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.007066, allocations: 0 / 0.9573 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0004299/0.007496, allocations: 217.2 kB / 0.9575 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.007528, allocations: 59.41 kB / 0.9576 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.613e-05/0.007584, allocations: 97.84 kB / 0.9576 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.007596, allocations: 33.7 kB / 0.9577 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.414e-05/0.00763, allocations: 88.03 kB / 0.9578 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.007645, allocations: 27.8 kB / 0.9578 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.007674, allocations: 25.72 kB / 0.9578 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.929e-05/0.007753, allocations: 314.8 kB / 0.9581 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.898e-05/0.007772, allocations: 12 kB / 0.9581 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.762e-05/0.00781, allocations: 57.08 kB / 0.9582 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.001e-05/0.00788, allocations: 84.95 kB / 0.9583 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.007882, allocations: 0 / 0.9583 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.615e-05/0.007978, allocations: 97.5 kB / 0.9584 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.007989, allocations: 4 kB / 0.9584 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.007996, allocations: 4 kB / 0.9584 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.008008, allocations: 0 / 0.9584 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.934e-05/0.008058, allocations: 16 kB / 0.9584 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.008068, allocations: 4 kB / 0.9584 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.051e-05/0.008089, allocations: 4 kB / 0.9584 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.008094, allocations: 8.203 kB / 0.9584 GB, free: 11.87 MB / 0.9167 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.854e-05/0.008153, allocations: 129.6 kB / 0.9585 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.008167, allocations: 4 kB / 0.9585 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/0.00819, allocations: 8.562 kB / 0.9585 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.008192, allocations: 3.938 kB / 0.9585 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.008196, allocations: 0 / 0.9585 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.008199, allocations: 0 / 0.9585 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.008332, allocations: 129.3 kB / 0.9587 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.008333, allocations: 0 / 0.9587 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.528e-05/0.008378, allocations: 19.98 kB / 0.9587 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.00838, allocations: 4 kB / 0.9587 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.008386, allocations: 0 / 0.9587 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.008387, allocations: 3.984 kB / 0.9587 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.008388, allocations: 0 / 0.9587 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.008522, allocations: 179.4 kB / 0.9589 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.054e-05/0.008542, allocations: 4.375 kB / 0.9589 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.008554, allocations: 4 kB / 0.9589 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.406e-05/0.008608, allocations: 8.031 kB / 0.9589 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.266e-05/0.00862, allocations: 0 / 0.9589 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.008627, allocations: 7.984 kB / 0.9589 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.586e-05/0.008653, allocations: 83.27 kB / 0.959 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.008653, allocations: 4 kB / 0.959 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001544/0.008808, allocations: 12 kB / 0.959 GB, free: 11.22 MB / 0.9167 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.0001032/0.008911, allocations: 99.25 kB / 0.9591 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.978e-05/0.009001, allocations: 47.78 kB / 0.9591 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.009002, allocations: 0 / 0.9591 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.531e-05/0.009018, allocations: 19.98 kB / 0.9591 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.009236, allocations: 8.188 kB / 0.9591 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004139/0.00965, allocations: 282.7 kB / 0.9594 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.747e-05/0.009698, allocations: 67.28 kB / 0.9595 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.009722, allocations: 12.5 kB / 0.9595 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of SimCode: time 5.72e-07/0.009723, allocations: 4 kB / 0.9595 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of Templates: time 0.001763/0.01149, allocations: 0.7969 MB / 0.9603 GB, free: 9.836 MB / 0.9167 GB " [Timeout remaining time 300] 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: 6.4262157659977674]