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.00138/0.00138, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001638/0.001638, allocations: 210.4 kB / 22.24 MB, free: 4.855 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 8.012 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.798/2.798, allocations: 476 MB / 0.7699 GB, free: 4.754 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.002216/0.002216, allocations: 67.31 kB / 1.117 GB, free: 41.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3473, allocations: 170 MB / 1.283 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002455/0.3498, allocations: 1.279 MB / 1.284 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004047/0.3538, allocations: 3.078 MB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.744e-05/0.3539, allocations: 0 / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.144e-05/0.3539, allocations: 3.938 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.883e-05/0.3539, allocations: 0 / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005548/0.3545, allocations: 107.5 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.489e-05/0.3546, allocations: 39.84 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.3546, allocations: 3.984 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.454e-05/0.3547, allocations: 15.94 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.715e-05/0.3547, allocations: 27.91 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.3547, allocations: 4 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002099/0.355, allocations: 63.81 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.355, allocations: 11.98 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.355, allocations: 11.94 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.3552, allocations: 67.36 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3552, allocations: 0 / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3552, allocations: 0 / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.3552, allocations: 0 / 1.287 GB, free: 7.785 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.0004069/0.3556, allocations: 278.2 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.3557, allocations: 12.03 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.376e-05/0.3557, allocations: 38.75 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.325e-05/0.3558, allocations: 8.922 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.3559, allocations: 110.4 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.3559, allocations: 384 / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.356, allocations: 8.375 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.3562, allocations: 134.7 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3562, allocations: 4 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.3562, allocations: 0 / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3562, allocations: 0 / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.308e-05/0.3563, allocations: 19.98 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.3565, allocations: 144.7 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.3566, allocations: 54.48 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.052e-05/0.3566, allocations: 12.84 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006225/0.3572, allocations: 242.1 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.3573, allocations: 30.56 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3573, allocations: 0 / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0005743/0.3578, allocations: 233.1 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.3579, allocations: 55.39 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.986e-05/0.358, allocations: 101.8 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.358, allocations: 37.64 kB / 1.289 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.358, allocations: 84.09 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.3581, allocations: 31.73 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.3581, allocations: 25.72 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.3582, allocations: 314.8 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.107e-05/0.3583, allocations: 12 kB / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.088e-05/0.3583, allocations: 49.14 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.3584, allocations: 81.08 kB / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3584, allocations: 0 / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001413/0.3586, allocations: 89.55 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3586, allocations: 8 kB / 1.289 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3586, allocations: 0 / 1.289 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.3586, allocations: 7.938 kB / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.479e-05/0.3587, allocations: 16 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.3587, allocations: 7.984 kB / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.12e-05/0.3587, allocations: 12.06 kB / 1.289 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.3587, allocations: 4 kB / 1.289 GB, free: 5.27 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.0001068/0.3589, allocations: 117.8 kB / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.3589, allocations: 7.953 kB / 1.289 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.575e-05/0.3589, allocations: 8.062 kB / 1.289 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.3589, allocations: 3.938 kB / 1.289 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3589, allocations: 0 / 1.289 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3589, allocations: 3.938 kB / 1.289 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.3592, allocations: 144.8 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3592, allocations: 0 / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.016e-05/0.3593, allocations: 20.44 kB / 1.29 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3593, allocations: 0 / 1.29 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.3593, allocations: 4.281 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3593, allocations: 4 kB / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3593, allocations: 7.922 kB / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.3595, allocations: 175.4 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.144e-05/0.3595, allocations: 11.98 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.3595, allocations: 0 / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.3596, allocations: 4 kB / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.3597, allocations: 11.92 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.3597, allocations: 4 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.315e-05/0.3597, allocations: 79.28 kB / 1.29 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3597, allocations: 0 / 1.29 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002477/0.36, allocations: 16 kB / 1.29 GB, free: 4.582 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.0005491/0.3605, allocations: 0.7046 MB / 1.291 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001379/0.3606, allocations: 43.97 kB / 1.291 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3607, allocations: 0 / 1.291 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.817e-05/0.3607, allocations: 20.23 kB / 1.291 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.361, allocations: 11.94 kB / 1.291 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.3627, allocations: 1.534 MB / 1.292 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.331e-05/0.3628, allocations: 63.34 kB / 1.292 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.052e-05/0.3628, allocations: 12.05 kB / 1.292 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.837e-05/0.3629, allocations: 19.42 kB / 1.292 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.3629, allocations: 0 / 1.292 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/0.3926, allocations: 2.199 MB / 1.294 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.61, allocations: 4 kB / 1.294 GB, free: 15.96 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 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.mat","/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(cpCod) in file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.45749195292592]