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.00131/0.00131, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001502/0.001502, allocations: 212.1 kB / 22.25 MB, free: 5.086 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.762/2.762, allocations: 476.7 MB / 0.7707 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002124/0.002124, allocations: 71.56 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3312, allocations: 170 MB / 1.283 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002476/0.3337, allocations: 1.29 MB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004392/0.3381, allocations: 3.353 MB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.341e-05/0.3381, allocations: 4 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.091e-05/0.3381, allocations: 0 / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.519e-05/0.3382, allocations: 7.875 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005277/0.3387, allocations: 107.5 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.891e-05/0.3388, allocations: 43.78 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.364e-05/0.3388, allocations: 7.984 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.614e-05/0.3389, allocations: 8 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.3389, allocations: 23.91 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.339, allocations: 4 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000249/0.3392, allocations: 87.8 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.3392, allocations: 7.984 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.3392, allocations: 11.94 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.3394, allocations: 75.3 kB / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3394, allocations: 0 / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3394, allocations: 0 / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.3394, allocations: 0 / 1.288 GB, free: 6.734 MB / 0.9825 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.0004467/0.3399, allocations: 278.2 kB / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.3399, allocations: 12.03 kB / 1.289 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.426e-05/0.34, allocations: 30.75 kB / 1.289 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.507e-05/0.3401, allocations: 4.938 kB / 1.289 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.3402, allocations: 114.5 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.3402, allocations: 384 / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.3402, allocations: 4.375 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.3403, allocations: 57.61 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3403, allocations: 0 / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3403, allocations: 4 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.3403, allocations: 4 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.653e-05/0.3404, allocations: 23.91 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/0.3406, allocations: 136.7 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.3407, allocations: 46.62 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.425e-05/0.3407, allocations: 20.84 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005988/0.3413, allocations: 245.8 kB / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.3413, allocations: 34.56 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.3413, allocations: 3.938 kB / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006199/0.342, allocations: 225.8 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.342, allocations: 55.41 kB / 1.289 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.667e-05/0.3421, allocations: 109.8 kB / 1.29 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.3421, allocations: 29.7 kB / 1.29 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.3422, allocations: 88.09 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.3422, allocations: 27.75 kB / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/0.3423, allocations: 25.7 kB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3424, allocations: 314.8 kB / 1.29 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.213e-05/0.3424, allocations: 15.98 kB / 1.29 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.658e-05/0.3425, allocations: 61.02 kB / 1.29 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.3426, allocations: 77.03 kB / 1.29 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3426, allocations: 0 / 1.29 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001476/0.3428, allocations: 97.55 kB / 1.29 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3428, allocations: 6.031 kB / 1.29 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3428, allocations: 4 kB / 1.29 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3428, allocations: 0 / 1.29 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.045e-05/0.3429, allocations: 19.98 kB / 1.29 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/0.3429, allocations: 4 kB / 1.29 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.813e-05/0.3429, allocations: 3.938 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.3429, allocations: 8 kB / 1.29 GB, free: 4.312 MB / 0.9825 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.0001018/0.343, allocations: 117.9 kB / 1.29 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.3431, allocations: 11.95 kB / 1.29 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.536e-05/0.3431, allocations: 12.05 kB / 1.29 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3431, allocations: 0 / 1.29 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3431, allocations: 3.938 kB / 1.29 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.3431, allocations: 7.938 kB / 1.29 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.3434, allocations: 140.7 kB / 1.291 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3434, allocations: 0 / 1.291 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.614e-05/0.3435, allocations: 12 kB / 1.291 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3435, allocations: 0 / 1.291 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3435, allocations: 0 / 1.291 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.3435, allocations: 11.98 kB / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3435, allocations: 0 / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.3437, allocations: 175.4 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.907e-05/0.3437, allocations: 11.98 kB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.3437, allocations: 0 / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.3438, allocations: 4 kB / 1.291 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/0.3439, allocations: 7.922 kB / 1.291 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.3439, allocations: 12 kB / 1.291 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.316e-05/0.3439, allocations: 75.66 kB / 1.291 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3439, allocations: 0 / 1.291 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002456/0.3442, allocations: 16 kB / 1.291 GB, free: 3.629 MB / 0.9825 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.0005107/0.3447, allocations: 0.7086 MB / 1.292 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001309/0.3448, allocations: 48.19 kB / 1.292 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3448, allocations: 3.938 kB / 1.292 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.846e-05/0.3448, allocations: 19.91 kB / 1.292 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.3452, allocations: 11.94 kB / 1.292 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.3467, allocations: 1.533 MB / 1.293 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.347, allocations: 0.6846 MB / 1.294 GB, free: 472 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.006e-05/0.3471, allocations: 11.98 kB / 1.294 GB, free: 460 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.256e-05/0.3471, allocations: 15.44 kB / 1.294 GB, free: 444 kB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.3471, allocations: 0 / 1.294 GB, free: 444 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.3766, allocations: 1.808 MB / 1.296 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.19, allocations: 8.062 kB / 1.296 GB, free: 14.75 MB / 0.9981 GB " [Timeout remaining time 288] (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: 17.781622642000002]