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.001072/0.001072, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001171/0.001171, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9276/0.9276, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.739/1.739, allocations: 359 MB / 0.6037 GB, free: 11.08 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: "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.587e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001906/0.001931, allocations: 1.27 MB / 0.9517 GB, free: 2.227 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002696/0.004627, allocations: 3.075 MB / 0.9547 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.513e-05/0.004663, allocations: 0 / 0.9547 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.036e-05/0.004683, allocations: 3.938 kB / 0.9547 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 4.709e-05/0.00473, allocations: 7.938 kB / 0.9547 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008217/0.005552, allocations: 111.4 kB / 0.9548 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 8.394e-05/0.005636, allocations: 39.83 kB / 0.9549 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.811e-05/0.005674, allocations: 0 / 0.9549 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 5.755e-05/0.005731, allocations: 23.92 kB / 0.9549 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 6.529e-05/0.005797, allocations: 23.91 kB / 0.9549 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.005809, allocations: 4 kB / 0.9549 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.005979, allocations: 59.88 kB / 0.955 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.005995, allocations: 15.86 kB / 0.955 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.204e-05/0.006017, allocations: 8 kB / 0.955 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.006184, allocations: 75.77 kB / 0.9551 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.006187, allocations: 4 kB / 0.9551 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.633e-06/0.006189, allocations: 0 / 0.9551 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.006195, allocations: 0 / 0.9551 GB, free: 14.76 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.0003467/0.006541, allocations: 278.1 kB / 0.9553 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.006585, allocations: 12.03 kB / 0.9553 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.131e-05/0.006617, allocations: 34.75 kB / 0.9554 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.825e-05/0.006705, allocations: 4.938 kB / 0.9554 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.56e-05/0.00678, allocations: 109.8 kB / 0.9555 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.006794, allocations: 8.375 kB / 0.9555 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.006818, allocations: 4.375 kB / 0.9555 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.006965, allocations: 131.3 kB / 0.9556 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.006973, allocations: 192 / 0.9556 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.006986, allocations: 3.938 kB / 0.9556 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.006991, allocations: 0 / 0.9556 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.913e-05/0.00704, allocations: 31.91 kB / 0.9557 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.007184, allocations: 128.8 kB / 0.9558 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.376e-05/0.007268, allocations: 50.55 kB / 0.9558 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.338e-05/0.007291, allocations: 12.86 kB / 0.9558 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004847/0.007776, allocations: 250 kB / 0.9561 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.007802, allocations: 42.5 kB / 0.9561 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=5): time 1.562e-06/0.007803, allocations: 0 / 0.9561 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0004972/0.0083, allocations: 217.2 kB / 0.9563 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.008332, allocations: 51.41 kB / 0.9564 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.414e-05/0.008396, allocations: 105.9 kB / 0.9565 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.00841, allocations: 25.7 kB / 0.9565 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.106e-05/0.008451, allocations: 92.02 kB / 0.9566 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.008466, allocations: 23.81 kB / 0.9566 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.008501, allocations: 29.7 kB / 0.9566 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.862e-05/0.008589, allocations: 314.8 kB / 0.9569 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.114e-05/0.008611, allocations: 19.92 kB / 0.957 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.337e-05/0.008654, allocations: 53.16 kB / 0.957 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.038e-05/0.008724, allocations: 81.19 kB / 0.9571 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.008726, allocations: 0 / 0.9571 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.767e-05/0.008823, allocations: 97.5 kB / 0.9572 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.008837, allocations: 4 kB / 0.9572 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.008846, allocations: 4 kB / 0.9572 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.008859, allocations: 0 / 0.9572 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.634e-05/0.008915, allocations: 23.98 kB / 0.9572 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.008922, allocations: 4.078 kB / 0.9572 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.051e-05/0.008942, allocations: 4.125 kB / 0.9572 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.008949, allocations: 7.984 kB / 0.9572 GB, free: 12.25 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 7.799e-05/0.009027, allocations: 125.7 kB / 0.9573 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.009044, allocations: 4 kB / 0.9573 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.009071, allocations: 8.125 kB / 0.9574 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.009074, allocations: 3.938 kB / 0.9574 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.009079, allocations: 0 / 0.9574 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.009086, allocations: 3.984 kB / 0.9574 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.009268, allocations: 152.8 kB / 0.9575 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.00927, allocations: 0 / 0.9575 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.292e-05/0.009323, allocations: 20.42 kB / 0.9575 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.009325, allocations: 0 / 0.9575 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.009332, allocations: 0 / 0.9575 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.009334, allocations: 4 kB / 0.9575 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.009337, allocations: 4 kB / 0.9575 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.009506, allocations: 171.4 kB / 0.9577 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.69e-05/0.009533, allocations: 8.031 kB / 0.9577 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.009545, allocations: 0 / 0.9577 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.268e-05/0.009608, allocations: 4 kB / 0.9577 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/0.009625, allocations: 7.984 kB / 0.9577 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.009632, allocations: 11.94 kB / 0.9577 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.235e-05/0.009664, allocations: 75.28 kB / 0.9578 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.009664, allocations: 0 / 0.9578 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001532/0.009818, allocations: 16 kB / 0.9578 GB, free: 11.58 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.0003539/0.01017, allocations: 0.7084 MB / 0.9585 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.93e-05/0.01027, allocations: 43.95 kB / 0.9586 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01027, allocations: 0 / 0.9586 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.471e-05/0.01029, allocations: 16.19 kB / 0.9586 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.01055, allocations: 14.34 kB / 0.9586 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.0116, allocations: 1.453 MB / 0.96 GB, free: 9.207 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.749e-05/0.01165, allocations: 71.41 kB / 0.9601 GB, free: 9.117 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.441e-05/0.01168, allocations: 4 kB / 0.9601 GB, free: 9.113 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.01172, allocations: 24.48 kB / 0.9601 GB, free: 9.09 MB / 0.9167 GB Notification: Performance of SimCode: time 9.01e-07/0.01172, allocations: 0 / 0.9601 GB, free: 9.09 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02001/0.03173, allocations: 2.344 MB / 0.9624 GB, free: 6.887 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.777/6.809, allocations: 2.812 kB / 0.9624 GB, free: 6.887 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Examples_WaterDerivativeCheck.fmu > Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.csv","/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(hLiqSym) in file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqSym) from file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.csv failed! Error: Could not read variable der(hLiqCod) in file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqCod) from file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.csv failed! Error: Could not read variable der(cpSym) in file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.csv. Warning: Get data of variable der(cpSym) from file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.csv failed! Error: Could not read variable der(cpCod) in file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.csv. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.csv failed! Error: Could not read variable der(cvSym) in file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.csv. Warning: Get data of variable der(cvSym) from file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.csv failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.csv. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.198860548436642]