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.001454/0.001454, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001348/0.001348, allocations: 215 kB / 20.13 MB, free: 2.949 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.442/1.442, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.902/2.902, allocations: 0.5003 GB / 0.8026 GB, free: 6.707 MB / 0.6387 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_latest_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.001897/0.001897, allocations: 67.84 kB / 1.165 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9454/0.9473, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002364/0.9496, allocations: 1.28 MB / 1.341 GB, free: 15.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003353/0.953, allocations: 3.319 MB / 1.345 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.132e-05/0.953, allocations: 4 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.231e-05/0.9531, allocations: 4.734 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.442e-05/0.9531, allocations: 10.09 kB / 1.345 GB, free: 12.94 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.9536, allocations: 113.7 kB / 1.345 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.088e-05/0.9537, allocations: 35.38 kB / 1.345 GB, free: 12.87 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.587e-05/0.9537, allocations: 2.031 kB / 1.345 GB, free: 12.87 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.341e-05/0.9538, allocations: 21.42 kB / 1.345 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.383e-05/0.9538, allocations: 20.95 kB / 1.345 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.9539, allocations: 2.75 kB / 1.345 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.9541, allocations: 86.52 kB / 1.345 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.9541, allocations: 4.016 kB / 1.345 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.9541, allocations: 20.67 kB / 1.345 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.9543, allocations: 67.38 kB / 1.345 GB, free: 12.78 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.9543, allocations: 0 / 1.345 GB, free: 12.78 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.082e-06/0.9543, allocations: 0 / 1.345 GB, free: 12.78 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.9543, allocations: 0 / 1.345 GB, free: 12.78 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.000331/0.9546, allocations: 356.1 kB / 1.345 GB, free: 12.41 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.9547, allocations: 9.625 kB / 1.345 GB, free: 12.41 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.157e-05/0.9547, allocations: 192 / 1.345 GB, free: 12.41 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.031e-05/0.9547, allocations: 38.2 kB / 1.345 GB, free: 12.36 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.182e-05/0.9548, allocations: 4.906 kB / 1.345 GB, free: 12.36 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.927e-05/0.9549, allocations: 170.3 kB / 1.346 GB, free: 12.16 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.9549, allocations: 3.125 kB / 1.346 GB, free: 12.16 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.9549, allocations: 15.39 kB / 1.346 GB, free: 12.15 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.955, allocations: 53.98 kB / 1.346 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.955, allocations: 4 kB / 1.346 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.955, allocations: 1.375 kB / 1.346 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.955, allocations: 1.375 kB / 1.346 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.333e-05/0.9551, allocations: 18.78 kB / 1.346 GB, free: 12.1 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.9552, allocations: 168.2 kB / 1.346 GB, free: 11.9 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.341e-05/0.9553, allocations: 47.11 kB / 1.346 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.748e-05/0.9553, allocations: 24.41 kB / 1.346 GB, free: 11.85 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005403/0.9559, allocations: 0.5994 MB / 1.346 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.9559, allocations: 32.48 kB / 1.346 GB, free: 11.17 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.9559, allocations: 0 / 1.346 GB, free: 11.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0005167/0.9564, allocations: 296.6 kB / 1.347 GB, free: 10.89 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.9564, allocations: 60.78 kB / 1.347 GB, free: 10.82 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.684e-05/0.9565, allocations: 111.1 kB / 1.347 GB, free: 10.71 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.9565, allocations: 26.8 kB / 1.347 GB, free: 10.68 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.268e-05/0.9565, allocations: 85.97 kB / 1.347 GB, free: 10.59 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.9565, allocations: 29.34 kB / 1.347 GB, free: 10.57 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.9566, allocations: 28.92 kB / 1.347 GB, free: 10.54 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.706e-05/0.9566, allocations: 317.3 kB / 1.347 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.845e-05/0.9566, allocations: 13.2 kB / 1.347 GB, free: 10.22 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.803e-05/0.9567, allocations: 56.95 kB / 1.347 GB, free: 10.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.115e-05/0.9568, allocations: 68.47 kB / 1.347 GB, free: 10.1 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.9568, allocations: 5.719 kB / 1.348 GB, free: 10.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001294/0.9569, allocations: 97.91 kB / 1.348 GB, free: 10.04 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.9569, allocations: 5.828 kB / 1.348 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.9569, allocations: 1.281 kB / 1.348 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.9569, allocations: 2.562 kB / 1.348 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.043e-05/0.957, allocations: 22.48 kB / 1.348 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.957, allocations: 6.797 kB / 1.348 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.812e-05/0.9571, allocations: 3.016 kB / 1.348 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.9571, allocations: 7.688 kB / 1.348 GB, free: 10.03 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 5.068e-05/0.9571, allocations: 113.5 kB / 1.348 GB, free: 9.91 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.9571, allocations: 6.719 kB / 1.348 GB, free: 9.906 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.789e-05/0.9572, allocations: 9.844 kB / 1.348 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.9572, allocations: 0.7031 kB / 1.348 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.9572, allocations: 9.188 kB / 1.348 GB, free: 9.883 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.9572, allocations: 0.75 kB / 1.348 GB, free: 9.883 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.9574, allocations: 178 kB / 1.348 GB, free: 9.684 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.9574, allocations: 448 / 1.348 GB, free: 9.684 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.111e-05/0.9575, allocations: 18.7 kB / 1.348 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.9575, allocations: 2.094 kB / 1.348 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.9575, allocations: 4 kB / 1.348 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.9575, allocations: 1.312 kB / 1.348 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.9575, allocations: 4.734 kB / 1.348 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.9576, allocations: 171 kB / 1.348 GB, free: 9.523 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.9576, allocations: 82.28 kB / 1.348 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.9577, allocations: 5.422 kB / 1.348 GB, free: 9.426 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.9578, allocations: 8.031 kB / 1.348 GB, free: 9.422 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.9578, allocations: 12.27 kB / 1.348 GB, free: 9.414 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.9578, allocations: 1.344 kB / 1.348 GB, free: 9.414 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.082e-05/0.9578, allocations: 83.72 kB / 1.348 GB, free: 9.336 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9578, allocations: 0 / 1.348 GB, free: 9.336 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002496/0.9581, allocations: 11.19 kB / 1.348 GB, free: 9.336 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.0002895/0.9584, allocations: 0.7077 MB / 1.349 GB, free: 8.656 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.9585, allocations: 48.06 kB / 1.349 GB, free: 8.637 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.9585, allocations: 1.562 kB / 1.349 GB, free: 8.637 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.195e-05/0.9585, allocations: 10.58 kB / 1.349 GB, free: 8.637 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.9588, allocations: 14.12 kB / 1.349 GB, free: 8.629 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.9598, allocations: 1.531 MB / 1.351 GB, free: 7.184 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.928e-05/0.9599, allocations: 0.6886 MB / 1.351 GB, free: 6.484 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.079e-05/0.9599, allocations: 4.766 kB / 1.351 GB, free: 6.484 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.96, allocations: 20.17 kB / 1.351 GB, free: 6.473 MB / 1.061 GB Notification: Performance of SimCode: time 3.41e-07/0.96, allocations: 0 / 1.351 GB, free: 6.473 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01866/0.9786, allocations: 1.698 MB / 1.353 GB, free: 6.059 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.924/8.903, allocations: 12.89 kB / 1.353 GB, free: 6.055 MB / 1.061 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-08 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.mat","/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(cpCod) in file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.142230616009329]