Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001196/0.001196, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001384/0.001384, allocations: 209.7 kB / 22.24 MB, free: 5.262 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.37/1.37, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.13/3.13, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 69.95 kB / 1.186 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3154, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002485/0.3179, allocations: 1.28 MB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004229/0.3222, allocations: 3.08 MB / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.77e-05/0.3222, allocations: 0 / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.3222, allocations: 7.938 kB / 1.368 GB, free: 9.707 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.86e-05/0.3223, allocations: 3.984 kB / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004946/0.3227, allocations: 103.5 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.253e-05/0.3228, allocations: 31.92 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.3229, allocations: 7.984 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.375e-05/0.3229, allocations: 19.92 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.075e-05/0.323, allocations: 15.92 kB / 1.368 GB, free: 9.527 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.323, allocations: 4 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.3232, allocations: 75.73 kB / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.3232, allocations: 0 / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.3233, allocations: 15.94 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.3235, allocations: 68.12 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3235, allocations: 0 / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3235, allocations: 7.875 kB / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.3235, allocations: 0 / 1.368 GB, free: 9.359 MB / 1.061 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.0004692/0.3239, allocations: 266.3 kB / 1.368 GB, free: 9.07 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.324, allocations: 12.03 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.67e-05/0.324, allocations: 38.73 kB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.119e-05/0.3241, allocations: 8.891 kB / 1.368 GB, free: 9.004 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.3243, allocations: 114.4 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.3243, allocations: 4.375 kB / 1.368 GB, free: 8.863 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.3243, allocations: 4.375 kB / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.3245, allocations: 134.7 kB / 1.369 GB, free: 8.703 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3245, allocations: 0 / 1.369 GB, free: 8.703 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3245, allocations: 0 / 1.369 GB, free: 8.703 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3245, allocations: 4 kB / 1.369 GB, free: 8.699 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.149e-05/0.3246, allocations: 15.98 kB / 1.369 GB, free: 8.684 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.3247, allocations: 132.7 kB / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.3248, allocations: 58.48 kB / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.738e-05/0.3249, allocations: 16.86 kB / 1.369 GB, free: 8.426 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005645/0.3255, allocations: 249.8 kB / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.3255, allocations: 30.56 kB / 1.369 GB, free: 8.121 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.3255, allocations: 0 / 1.369 GB, free: 8.121 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0005153/0.326, allocations: 233.4 kB / 1.369 GB, free: 7.859 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.326, allocations: 51.41 kB / 1.369 GB, free: 7.797 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.871e-05/0.3261, allocations: 101.8 kB / 1.369 GB, free: 7.688 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.3261, allocations: 29.7 kB / 1.369 GB, free: 7.652 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.793e-05/0.3262, allocations: 96.03 kB / 1.369 GB, free: 7.555 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.3262, allocations: 27.73 kB / 1.37 GB, free: 7.527 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.3263, allocations: 29.64 kB / 1.37 GB, free: 7.492 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3264, allocations: 318.8 kB / 1.37 GB, free: 7.172 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.777e-05/0.3264, allocations: 12.44 kB / 1.37 GB, free: 7.16 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.527e-05/0.3265, allocations: 49.14 kB / 1.37 GB, free: 7.094 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.64e-05/0.3266, allocations: 81.08 kB / 1.37 GB, free: 6.996 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.3266, allocations: 4 kB / 1.37 GB, free: 6.992 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001378/0.3267, allocations: 97.5 kB / 1.37 GB, free: 6.891 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3267, allocations: 8 kB / 1.37 GB, free: 6.883 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.3267, allocations: 0 / 1.37 GB, free: 6.883 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3267, allocations: 4 kB / 1.37 GB, free: 6.879 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.38e-05/0.3268, allocations: 23.92 kB / 1.37 GB, free: 6.855 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3268, allocations: 0 / 1.37 GB, free: 6.855 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.891e-05/0.3269, allocations: 7.938 kB / 1.37 GB, free: 6.848 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.3269, allocations: 8.125 kB / 1.37 GB, free: 6.84 MB / 1.061 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.998e-05/0.327, allocations: 113.8 kB / 1.37 GB, free: 6.719 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.327, allocations: 3.938 kB / 1.37 GB, free: 6.715 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.838e-05/0.327, allocations: 8.062 kB / 1.37 GB, free: 6.703 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.327, allocations: 7.938 kB / 1.37 GB, free: 6.695 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.327, allocations: 0 / 1.37 GB, free: 6.695 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.327, allocations: 3.938 kB / 1.37 GB, free: 6.691 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.3273, allocations: 144.7 kB / 1.37 GB, free: 6.508 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3273, allocations: 0 / 1.37 GB, free: 6.508 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.782e-05/0.3274, allocations: 12 kB / 1.37 GB, free: 6.496 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3274, allocations: 8 kB / 1.37 GB, free: 6.488 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.3274, allocations: 3.984 kB / 1.37 GB, free: 6.484 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.3274, allocations: 0 / 1.37 GB, free: 6.484 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.3274, allocations: 0 / 1.37 GB, free: 6.484 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.3276, allocations: 175.4 kB / 1.371 GB, free: 6.297 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.3277, allocations: 8.406 kB / 1.371 GB, free: 6.289 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.3277, allocations: 11.88 kB / 1.371 GB, free: 6.277 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.426e-05/0.3278, allocations: 0 / 1.371 GB, free: 6.277 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/0.3278, allocations: 11.92 kB / 1.371 GB, free: 6.266 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.3278, allocations: 3.984 kB / 1.371 GB, free: 6.262 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.297e-05/0.3278, allocations: 83.28 kB / 1.371 GB, free: 6.18 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3278, allocations: 4 kB / 1.371 GB, free: 6.176 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002284/0.3281, allocations: 12 kB / 1.371 GB, free: 6.164 MB / 1.061 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.0004715/0.3285, allocations: 0.7007 MB / 1.371 GB, free: 5.438 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.3286, allocations: 47.91 kB / 1.371 GB, free: 5.391 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3286, allocations: 0 / 1.371 GB, free: 5.391 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.224e-05/0.3287, allocations: 11.98 kB / 1.371 GB, free: 5.379 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.3289, allocations: 12.19 kB / 1.371 GB, free: 5.367 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.3306, allocations: 1.536 MB / 1.373 GB, free: 3.719 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.139e-05/0.3306, allocations: 71.28 kB / 1.373 GB, free: 3.629 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.792e-05/0.3307, allocations: 12.05 kB / 1.373 GB, free: 3.617 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.3307, allocations: 11.44 kB / 1.373 GB, free: 3.609 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.3307, allocations: 0 / 1.373 GB, free: 3.609 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02949/0.3602, allocations: 2.2 MB / 1.375 GB, free: 1.547 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.71, allocations: 8.062 kB / 1.375 GB, free: 1.543 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Examples_WaterDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqSym) from file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.csv failed! Error: Could not read variable der(hLiqCod) in file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqCod) from file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.csv failed! Error: Could not read variable der(cpSym) in file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.csv. Warning: Get data of variable der(cpSym) from file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.csv failed! Error: Could not read variable der(cpCod) in file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.csv. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.csv failed! Error: Could not read variable der(cvSym) in file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.csv. Warning: Get data of variable der(cvSym) from file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.csv failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.csv. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.07139571988955]