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.0008268/0.0008268, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.0009193/0.0009193, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.8785/0.8785, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.722/1.722, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 4 kB / 0.9996 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.998e-05, allocations: 6.281 kB / 0.9996 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.00163/0.00165, allocations: 1.265 MB / 1.001 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00269/0.00434, allocations: 3.071 MB / 1.004 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.234e-05/0.004372, allocations: 0 / 1.004 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.954e-05/0.004392, allocations: 3.938 kB / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.963e-05/0.004441, allocations: 11.86 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004364/0.004878, allocations: 107.5 kB / 1.004 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.661e-05/0.004944, allocations: 39.86 kB / 1.004 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.37e-05/0.004978, allocations: 7.984 kB / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.906e-05/0.005027, allocations: 23.97 kB / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.49e-05/0.005082, allocations: 15.92 kB / 1.004 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.005093, allocations: 0 / 1.004 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.005249, allocations: 67.75 kB / 1.004 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.005264, allocations: 11.92 kB / 1.004 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.993e-05/0.005284, allocations: 15.98 kB / 1.004 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.005422, allocations: 67.84 kB / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.005425, allocations: 0 / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.272e-06/0.005426, allocations: 0 / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.005431, allocations: 0 / 1.004 GB, free: 8.832 MB / 0.9636 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.0003143/0.005745, allocations: 278.2 kB / 1.004 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.005782, allocations: 8.75 kB / 1.004 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.729e-05/0.005809, allocations: 34.75 kB / 1.005 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.122e-05/0.005881, allocations: 8.891 kB / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.66e-05/0.005947, allocations: 117.7 kB / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.005958, allocations: 8.359 kB / 1.005 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.00598, allocations: 8.375 kB / 1.005 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.006106, allocations: 127.3 kB / 1.005 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.006112, allocations: 192 / 1.005 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.006124, allocations: 11.94 kB / 1.005 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.006129, allocations: 0 / 1.005 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.185e-05/0.006171, allocations: 11.98 kB / 1.005 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001208/0.006292, allocations: 136.8 kB / 1.005 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.706e-05/0.006369, allocations: 54.48 kB / 1.005 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.131e-05/0.00639, allocations: 16.84 kB / 1.005 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004266/0.006817, allocations: 250.1 kB / 1.005 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.006836, allocations: 30.56 kB / 1.005 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.006836, allocations: 0 / 1.005 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0004255/0.007262, allocations: 225.1 kB / 1.005 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.007287, allocations: 51.41 kB / 1.006 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.085e-05/0.007338, allocations: 105.8 kB / 1.006 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.007348, allocations: 33.64 kB / 1.006 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.186e-05/0.00738, allocations: 88.09 kB / 1.006 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.007396, allocations: 31.73 kB / 1.006 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.007424, allocations: 25.72 kB / 1.006 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.044e-05/0.007494, allocations: 322.7 kB / 1.006 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.975e-05/0.007514, allocations: 19.92 kB / 1.006 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.722e-05/0.007551, allocations: 49.14 kB / 1.006 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.062e-05/0.007612, allocations: 73.09 kB / 1.006 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.007613, allocations: 0 / 1.006 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.131e-05/0.007704, allocations: 93.55 kB / 1.006 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.007718, allocations: 8 kB / 1.006 GB, free: 6.355 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.007723, allocations: 0 / 1.006 GB, free: 6.355 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.007735, allocations: 4 kB / 1.006 GB, free: 6.352 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.148e-05/0.007786, allocations: 23.92 kB / 1.006 GB, free: 6.328 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.007791, allocations: 0 / 1.006 GB, free: 6.328 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/0.007813, allocations: 8 kB / 1.006 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.007819, allocations: 4 kB / 1.006 GB, free: 6.316 MB / 0.9636 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.333e-05/0.007873, allocations: 117.8 kB / 1.006 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.007888, allocations: 4.078 kB / 1.006 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.078e-05/0.007908, allocations: 20.05 kB / 1.007 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.00791, allocations: 4 kB / 1.007 GB, free: 6.168 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.007914, allocations: 0 / 1.007 GB, free: 6.168 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.007916, allocations: 0 / 1.007 GB, free: 6.168 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.008061, allocations: 144.8 kB / 1.007 GB, free: 5.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.008062, allocations: 448 / 1.007 GB, free: 5.984 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.49e-05/0.008107, allocations: 15.98 kB / 1.007 GB, free: 5.969 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.00811, allocations: 4 kB / 1.007 GB, free: 5.965 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.008117, allocations: 8 kB / 1.007 GB, free: 5.957 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.008119, allocations: 0 / 1.007 GB, free: 5.957 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.008119, allocations: 4 kB / 1.007 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.008247, allocations: 167.5 kB / 1.007 GB, free: 5.773 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.008267, allocations: 11.89 kB / 1.007 GB, free: 5.762 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.008278, allocations: 4 kB / 1.007 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.352e-05/0.008331, allocations: 4.031 kB / 1.007 GB, free: 5.754 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.008344, allocations: 7.938 kB / 1.007 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.008348, allocations: 0 / 1.007 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.347e-05/0.008372, allocations: 87.64 kB / 1.007 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.1e-08/0.008372, allocations: 0 / 1.007 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000149/0.008521, allocations: 12 kB / 1.007 GB, free: 5.648 MB / 0.9636 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.0002903/0.008811, allocations: 0.7088 MB / 1.008 GB, free: 4.914 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.568e-05/0.008897, allocations: 43.86 kB / 1.008 GB, free: 4.871 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.0089, allocations: 4 kB / 1.008 GB, free: 4.867 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-05/0.008912, allocations: 11.94 kB / 1.008 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.00914, allocations: 13.7 kB / 1.008 GB, free: 4.844 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009027/0.01004, allocations: 1.472 MB / 1.009 GB, free: 3.258 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.934e-05/0.01008, allocations: 63.34 kB / 1.009 GB, free: 3.176 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.314e-05/0.01012, allocations: 16.03 kB / 1.009 GB, free: 3.16 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.01015, allocations: 16.5 kB / 1.009 GB, free: 3.145 MB / 0.9636 GB Notification: Performance of SimCode: time 9.21e-07/0.01015, allocations: 0 / 1.009 GB, free: 3.145 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/0.02647, allocations: 2.336 MB / 1.012 GB, free: 0.9414 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.308/6.334, allocations: 2.672 kB / 1.012 GB, free: 0.9414 MB / 0.9636 GB " [Timeout remaining time 294] (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/jenkins/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: 10.355549857020378]