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.002246/0.002246, allocations: 80.33 kB / 19.18 MB, free: 2.527 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.002595/0.002595, allocations: 163.2 kB / 22.46 MB, free: 5.359 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.516/1.516, 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 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 2.867/2.867, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 176] 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.533e-06/1.533e-06, allocations: 0 / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.431e-05/3.584e-05, allocations: 6.281 kB / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.00268/0.002715, allocations: 1.27 MB / 0.9522 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004504/0.007219, allocations: 3.075 MB / 0.9552 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.715e-05/0.007256, allocations: 0 / 0.9552 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.132e-05/0.007278, allocations: 3.938 kB / 0.9552 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.349e-05/0.007331, allocations: 7.938 kB / 0.9552 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006073/0.007938, allocations: 107.5 kB / 0.9553 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.718e-05/0.008016, allocations: 35.86 kB / 0.9553 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.008059, allocations: 7.984 kB / 0.9553 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.454e-05/0.008144, allocations: 27.91 kB / 0.9554 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.172e-05/0.008216, allocations: 11.98 kB / 0.9554 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.00823, allocations: 3.938 kB / 0.9554 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002399/0.00847, allocations: 75.75 kB / 0.9554 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.008489, allocations: 3.984 kB / 0.9554 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.296e-05/0.008522, allocations: 15.98 kB / 0.9555 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.008733, allocations: 71.78 kB / 0.9555 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.008737, allocations: 0 / 0.9555 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.473e-06/0.008738, allocations: 0 / 0.9555 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.008743, allocations: 0 / 0.9555 GB, free: 6.859 MB / 0.8575 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.0004768/0.00922, allocations: 278.2 kB / 0.9558 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.009265, allocations: 8.031 kB / 0.9558 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.009372, allocations: 12.92 kB / 0.9558 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.009491, allocations: 105.8 kB / 0.9559 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.009507, allocations: 4.375 kB / 0.9559 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.00954, allocations: 12.33 kB / 0.9559 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.009746, allocations: 127.3 kB / 0.9561 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.009756, allocations: 192 / 0.9561 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.009771, allocations: 4.125 kB / 0.9561 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.009777, allocations: 3.984 kB / 0.9561 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.868e-05/0.009836, allocations: 19.98 kB / 0.9561 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.01001, allocations: 121.2 kB / 0.9562 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.01014, allocations: 46.56 kB / 0.9562 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.655e-05/0.01018, allocations: 16.84 kB / 0.9563 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006203/0.0108, allocations: 245.8 kB / 0.9565 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.01083, allocations: 30.56 kB / 0.9565 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.01083, allocations: 0 / 0.9565 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0006273/0.01146, allocations: 233.8 kB / 0.9567 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.0115, allocations: 55.34 kB / 0.9568 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.01162, allocations: 101.8 kB / 0.9569 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.01164, allocations: 29.7 kB / 0.9569 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.0117, allocations: 88.03 kB / 0.957 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.01173, allocations: 31.8 kB / 0.957 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.01178, allocations: 25.72 kB / 0.9571 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.01196, allocations: 314.8 kB / 0.9574 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.193e-05/0.01199, allocations: 15.98 kB / 0.9574 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.75e-05/0.01206, allocations: 53.14 kB / 0.9574 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.01217, allocations: 73.03 kB / 0.9575 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.01217, allocations: 0 / 0.9575 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001527/0.01232, allocations: 97.5 kB / 0.9576 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.01234, allocations: 11.94 kB / 0.9576 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01234, allocations: 0 / 0.9576 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.01236, allocations: 7.984 kB / 0.9576 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.957e-05/0.01244, allocations: 20 kB / 0.9576 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.01245, allocations: 0 / 0.9576 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.623e-05/0.01248, allocations: 4 kB / 0.9576 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.01249, allocations: 4 kB / 0.9576 GB, free: 4.43 MB / 0.8575 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.0001001/0.01259, allocations: 125.8 kB / 0.9578 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.01262, allocations: 11.98 kB / 0.9578 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.02e-05/0.01265, allocations: 8.125 kB / 0.9578 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.01266, allocations: 0 / 0.9578 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.01266, allocations: 0 / 0.9578 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.01266, allocations: 288 / 0.9578 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.0129, allocations: 121.2 kB / 0.9579 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.0129, allocations: 0 / 0.9579 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.638e-05/0.01299, allocations: 19.98 kB / 0.9579 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.013, allocations: 4 kB / 0.9579 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.01301, allocations: 7.922 kB / 0.9579 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01301, allocations: 0 / 0.9579 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01301, allocations: 4 kB / 0.9579 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.01323, allocations: 187.3 kB / 0.9581 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.01325, allocations: 0 / 0.9581 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.01327, allocations: 4 kB / 0.9581 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.01338, allocations: 0 / 0.9581 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.0134, allocations: 8.031 kB / 0.9581 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.01341, allocations: 4 kB / 0.9581 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.474e-05/0.01346, allocations: 79.28 kB / 0.9582 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01346, allocations: 0 / 0.9582 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002467/0.0137, allocations: 16 kB / 0.9582 GB, free: 3.789 MB / 0.8575 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.0001647/0.01387, allocations: 103.2 kB / 0.9583 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.01399, allocations: 39.92 kB / 0.9583 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01399, allocations: 0 / 0.9583 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.607e-05/0.01402, allocations: 15.94 kB / 0.9584 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.01431, allocations: 15.92 kB / 0.9584 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005285/0.01484, allocations: 245.3 kB / 0.9586 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.203e-05/0.01491, allocations: 79.22 kB / 0.9587 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.414e-05/0.01495, allocations: 8 kB / 0.9587 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.01498, allocations: 12.5 kB / 0.9587 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of SimCode: time 3.5e-07/0.01498, allocations: 0 / 0.9587 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of Templates: time 0.00334/0.01832, allocations: 0.6359 MB / 0.9593 GB, free: 2.609 MB / 0.8575 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: 8.022915657609701]