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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 225.6 MB / 249.3 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.47/2.47, allocations: 476.7 MB / 0.7628 GB, free: 15.29 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00181/0.00181, allocations: 67.89 kB / 1.107 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7777/0.7795, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001953/0.7814, allocations: 1.276 MB / 1.273 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002752/0.7842, allocations: 3.311 MB / 1.276 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.479e-05/0.7842, allocations: 0.9688 kB / 1.276 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.7842, allocations: 5.156 kB / 1.276 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.494e-05/0.7843, allocations: 5 kB / 1.276 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.7847, allocations: 110.2 kB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.567e-05/0.7848, allocations: 36.78 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.253e-05/0.7848, allocations: 2.375 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.215e-05/0.7848, allocations: 20.09 kB / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.512e-05/0.7849, allocations: 20.97 kB / 1.276 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.7849, allocations: 2 kB / 1.276 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.7851, allocations: 78.64 kB / 1.276 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.7851, allocations: 14.08 kB / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.7851, allocations: 11.19 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.7853, allocations: 73.3 kB / 1.276 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.7853, allocations: 0.5312 kB / 1.276 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7853, allocations: 0.8125 kB / 1.276 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.7853, allocations: 0 / 1.276 GB, free: 4.273 MB / 0.9981 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.0003048/0.7856, allocations: 346.8 kB / 1.277 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.7857, allocations: 9.906 kB / 1.277 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.409e-05/0.7857, allocations: 37.64 kB / 1.277 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.868e-05/0.7858, allocations: 13.36 kB / 1.277 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.017e-05/0.7858, allocations: 174.4 kB / 1.277 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.7858, allocations: 3.062 kB / 1.277 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.7859, allocations: 3.625 kB / 1.277 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.786, allocations: 57.64 kB / 1.277 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.786, allocations: 0.7812 kB / 1.277 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.786, allocations: 1.25 kB / 1.277 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.786, allocations: 1.125 kB / 1.277 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.928e-05/0.786, allocations: 18.69 kB / 1.277 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001065/0.7861, allocations: 167.9 kB / 1.277 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.849e-05/0.7862, allocations: 50.47 kB / 1.277 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.617e-05/0.7863, allocations: 17.17 kB / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004951/0.7867, allocations: 0.5996 MB / 1.278 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.33e-05/0.7868, allocations: 36.03 kB / 1.278 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.7868, allocations: 0 / 1.278 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004705/0.7872, allocations: 293.1 kB / 1.278 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.735e-05/0.7872, allocations: 56.19 kB / 1.278 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.273e-05/0.7873, allocations: 103.8 kB / 1.278 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.7873, allocations: 26.73 kB / 1.278 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.421e-05/0.7873, allocations: 103.5 kB / 1.278 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.7873, allocations: 25.27 kB / 1.278 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.7874, allocations: 26.3 kB / 1.278 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.74e-05/0.7874, allocations: 319.3 kB / 1.279 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.762e-05/0.7874, allocations: 8.75 kB / 1.279 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.852e-05/0.7875, allocations: 60.75 kB / 1.279 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.477e-05/0.7875, allocations: 73.47 kB / 1.279 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.7875, allocations: 1.25 kB / 1.279 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001179/0.7877, allocations: 97.3 kB / 1.279 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.7877, allocations: 11.25 kB / 1.279 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.7877, allocations: 2.625 kB / 1.279 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.7877, allocations: 1.625 kB / 1.279 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.203e-05/0.7878, allocations: 23.98 kB / 1.279 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.7878, allocations: 2.656 kB / 1.279 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.461e-05/0.7878, allocations: 9.047 kB / 1.279 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.7878, allocations: 8.594 kB / 1.279 GB, free: 1.527 MB / 0.9981 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 4.534e-05/0.7879, allocations: 123.5 kB / 1.279 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.7879, allocations: 2.625 kB / 1.279 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.335e-05/0.7879, allocations: 12.78 kB / 1.279 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.7879, allocations: 1 kB / 1.279 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.7879, allocations: 0 / 1.279 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.7879, allocations: 4.875 kB / 1.279 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.7881, allocations: 173.6 kB / 1.279 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7881, allocations: 0.8438 kB / 1.279 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.149e-05/0.7882, allocations: 17.08 kB / 1.279 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.7882, allocations: 1.094 kB / 1.279 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.7882, allocations: 0.8438 kB / 1.279 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.7882, allocations: 0 / 1.279 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.7882, allocations: 4.938 kB / 1.279 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.7883, allocations: 179.2 kB / 1.279 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.707e-05/0.7883, allocations: 80.62 kB / 1.279 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.7884, allocations: 5.562 kB / 1.279 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.862e-05/0.7885, allocations: 3.234 kB / 1.279 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.904e-05/0.7885, allocations: 8.344 kB / 1.279 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.7885, allocations: 2.5 kB / 1.279 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.878e-05/0.7885, allocations: 86.44 kB / 1.28 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7885, allocations: 0.8438 kB / 1.28 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000222/0.7887, allocations: 10.66 kB / 1.28 GB, free: 0.8516 MB / 0.9981 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.0002551/0.789, allocations: 0.7127 MB / 1.28 GB, free: 172 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.7891, allocations: 46.25 kB / 1.28 GB, free: 156 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7891, allocations: 0 / 1.28 GB, free: 156 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.042e-05/0.7891, allocations: 13.97 kB / 1.28 GB, free: 152 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.7893, allocations: 13.17 kB / 1.28 GB, free: 144 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.7908, allocations: 1.526 MB / 1.282 GB, free: 14.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.7911, allocations: 0.6831 MB / 1.282 GB, free: 14 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.11e-05/0.7911, allocations: 9.891 kB / 1.282 GB, free: 14 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.7911, allocations: 18.75 kB / 1.283 GB, free: 13.98 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.7911, allocations: 0.9375 kB / 1.283 GB, free: 13.98 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.8167, allocations: 1.642 MB / 1.284 GB, free: 13.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.119/7.936, allocations: 5.344 kB / 1.284 GB, free: 13.6 MB / 1.014 GB " [Timeout remaining time 292] (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/jenkins1/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: 13.299354568996932]