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.001622/0.001622, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.002064/0.002064, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.586/1.586, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.723/2.723, allocations: 476.7 MB / 0.7714 GB, free: 4.477 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="cs",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.001977/0.001977, allocations: 67.19 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3291, allocations: 170 MB / 1.284 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002603/0.3317, allocations: 1.278 MB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004369/0.3361, allocations: 3.353 MB / 1.289 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.295e-05/0.3361, allocations: 0 / 1.289 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.335e-05/0.3361, allocations: 3.938 kB / 1.289 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.764e-05/0.3362, allocations: 15.91 kB / 1.289 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005246/0.3367, allocations: 107.5 kB / 1.289 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.947e-05/0.3368, allocations: 35.86 kB / 1.289 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.735e-05/0.3368, allocations: 0 / 1.289 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.922e-05/0.3369, allocations: 27.91 kB / 1.289 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.773e-05/0.337, allocations: 15.92 kB / 1.289 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.337, allocations: 4 kB / 1.289 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/0.3372, allocations: 79.8 kB / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.3372, allocations: 15.98 kB / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.256e-05/0.3373, allocations: 19.92 kB / 1.289 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.3374, allocations: 63.33 kB / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3374, allocations: 3.984 kB / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3374, allocations: 0 / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3374, allocations: 0 / 1.289 GB, free: 6.754 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.0004054/0.3378, allocations: 266.3 kB / 1.289 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.3379, allocations: 12.03 kB / 1.289 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.896e-05/0.3379, allocations: 8.188 kB / 1.289 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.727e-05/0.3379, allocations: 38.69 kB / 1.289 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.603e-05/0.338, allocations: 8.922 kB / 1.289 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.248e-05/0.3381, allocations: 110.5 kB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.3381, allocations: 8.359 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.3382, allocations: 8.125 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.3383, allocations: 57.66 kB / 1.29 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.3383, allocations: 0 / 1.29 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3383, allocations: 0 / 1.29 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.3383, allocations: 4 kB / 1.29 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.513e-05/0.3384, allocations: 15.98 kB / 1.29 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.3386, allocations: 144.6 kB / 1.29 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.413e-05/0.3387, allocations: 46.56 kB / 1.29 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.366e-05/0.3387, allocations: 20.8 kB / 1.29 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005594/0.3393, allocations: 242.1 kB / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3393, allocations: 38.56 kB / 1.29 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.3393, allocations: 0 / 1.29 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0005615/0.3399, allocations: 233 kB / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.3399, allocations: 51.41 kB / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.052e-05/0.34, allocations: 101.8 kB / 1.29 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.34, allocations: 29.7 kB / 1.29 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.985e-05/0.34, allocations: 92.03 kB / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.3401, allocations: 31.73 kB / 1.291 GB, free: 5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.3401, allocations: 25.72 kB / 1.291 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3402, allocations: 318.8 kB / 1.291 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.972e-05/0.3403, allocations: 8 kB / 1.291 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.374e-05/0.3403, allocations: 57.14 kB / 1.291 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.48e-05/0.3404, allocations: 69.08 kB / 1.291 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.3404, allocations: 3.938 kB / 1.291 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000143/0.3406, allocations: 97.58 kB / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3406, allocations: 4 kB / 1.291 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3406, allocations: 4 kB / 1.291 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3406, allocations: 288 / 1.291 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.877e-05/0.3407, allocations: 23.98 kB / 1.291 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.3407, allocations: 7.938 kB / 1.291 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.55e-05/0.3407, allocations: 448 / 1.291 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.3407, allocations: 4 kB / 1.291 GB, free: 4.332 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 8.709e-05/0.3408, allocations: 117.9 kB / 1.291 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.3409, allocations: 15.94 kB / 1.291 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/0.3409, allocations: 12 kB / 1.291 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3409, allocations: 4 kB / 1.291 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3409, allocations: 3.938 kB / 1.291 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3409, allocations: 0 / 1.291 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.3412, allocations: 148.8 kB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3412, allocations: 4 kB / 1.291 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.593e-05/0.3413, allocations: 15.98 kB / 1.291 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3413, allocations: 0 / 1.291 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.3413, allocations: 0 / 1.291 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3413, allocations: 4 kB / 1.291 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3413, allocations: 3.938 kB / 1.291 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.3415, allocations: 171.5 kB / 1.292 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.743e-05/0.3415, allocations: 7.953 kB / 1.292 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.3415, allocations: 4 kB / 1.292 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.3416, allocations: 4.031 kB / 1.292 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.3416, allocations: 7.938 kB / 1.292 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.3416, allocations: 0 / 1.292 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.23e-05/0.3417, allocations: 91.27 kB / 1.292 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3417, allocations: 0 / 1.292 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000244/0.3419, allocations: 12 kB / 1.292 GB, free: 3.641 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.0004717/0.3424, allocations: 0.7124 MB / 1.292 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.3425, allocations: 47.92 kB / 1.292 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3425, allocations: 0 / 1.292 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.478e-05/0.3425, allocations: 8 kB / 1.292 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.3429, allocations: 16.14 kB / 1.292 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.3445, allocations: 1.54 MB / 1.294 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.3448, allocations: 0.6807 MB / 1.295 GB, free: 488 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.555e-05/0.3449, allocations: 8 kB / 1.295 GB, free: 480 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/0.3449, allocations: 19.42 kB / 1.295 GB, free: 460 kB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3449, allocations: 0 / 1.295 GB, free: 460 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.3675, allocations: 1.838 MB / 1.296 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.83, allocations: 11.39 kB / 1.296 GB, free: 14.75 MB / 0.9981 GB " [Timeout remaining time 287] (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.68036287999712]