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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.715/2.715, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 71.88 kB / 1.104 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8087/0.8107, allocations: 168.7 MB / 1.269 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002499/0.8132, allocations: 1.262 MB / 1.27 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004426/0.8176, allocations: 3.294 MB / 1.273 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.8176, allocations: 0 / 1.273 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.772e-05/0.8177, allocations: 0 / 1.273 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.093e-05/0.8177, allocations: 3.938 kB / 1.273 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006216/0.8183, allocations: 111.5 kB / 1.273 GB, free: 452 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.81e-05/0.8184, allocations: 31.91 kB / 1.273 GB, free: 420 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.385e-05/0.8185, allocations: 11.92 kB / 1.273 GB, free: 408 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.725e-05/0.8185, allocations: 12 kB / 1.273 GB, free: 396 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.235e-05/0.8186, allocations: 23.91 kB / 1.273 GB, free: 372 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.8186, allocations: 3.938 kB / 1.273 GB, free: 368 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000251/0.8188, allocations: 75.81 kB / 1.273 GB, free: 292 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.8189, allocations: 7.969 kB / 1.273 GB, free: 284 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.046e-05/0.8189, allocations: 19.94 kB / 1.273 GB, free: 264 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.8191, allocations: 73.61 kB / 1.274 GB, free: 192 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.8191, allocations: 0 / 1.274 GB, free: 192 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.002e-06/0.8191, allocations: 0 / 1.274 GB, free: 192 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.8191, allocations: 0 / 1.274 GB, free: 192 kB / 0.9669 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.0005021/0.8196, allocations: 353.4 kB / 1.274 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.8197, allocations: 12.03 kB / 1.274 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.865e-05/0.8197, allocations: 30.75 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.758e-05/0.8198, allocations: 8.938 kB / 1.274 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.82, allocations: 168.3 kB / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.82, allocations: 8.312 kB / 1.274 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.82, allocations: 4.375 kB / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.8202, allocations: 57.61 kB / 1.274 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.8202, allocations: 0 / 1.274 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.8202, allocations: 0 / 1.274 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.8202, allocations: 0 / 1.274 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.215e-05/0.8203, allocations: 27.91 kB / 1.274 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00021/0.8205, allocations: 161.7 kB / 1.274 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.931e-05/0.8206, allocations: 46.64 kB / 1.274 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.184e-05/0.8206, allocations: 17 kB / 1.274 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008607/0.8215, allocations: 0.5985 MB / 1.275 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.8215, allocations: 30.56 kB / 1.275 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.8215, allocations: 4 kB / 1.275 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006892/0.8222, allocations: 302.7 kB / 1.275 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.8222, allocations: 51.41 kB / 1.275 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.202e-05/0.8223, allocations: 101.8 kB / 1.275 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.8224, allocations: 25.7 kB / 1.275 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.064e-05/0.8224, allocations: 96.09 kB / 1.276 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.8224, allocations: 23.8 kB / 1.276 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.8225, allocations: 29.72 kB / 1.276 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.8227, allocations: 322.8 kB / 1.276 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.318e-05/0.8227, allocations: 8 kB / 1.276 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.021e-05/0.8228, allocations: 57.08 kB / 1.276 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.8229, allocations: 89.12 kB / 1.276 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.8229, allocations: 0 / 1.276 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001624/0.823, allocations: 93.5 kB / 1.276 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.8231, allocations: 10.19 kB / 1.276 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.8231, allocations: 0 / 1.276 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.8231, allocations: 12.06 kB / 1.276 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.027e-05/0.8232, allocations: 23.98 kB / 1.276 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.8232, allocations: 0 / 1.276 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.8232, allocations: 7.938 kB / 1.276 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.8232, allocations: 4 kB / 1.276 GB, free: 13.03 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.0001043/0.8233, allocations: 127.2 kB / 1.276 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.8233, allocations: 0 / 1.276 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.231e-05/0.8234, allocations: 11.97 kB / 1.276 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.8234, allocations: 0 / 1.276 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.8234, allocations: 4 kB / 1.276 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.8234, allocations: 3.938 kB / 1.276 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.8237, allocations: 173.7 kB / 1.276 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.8237, allocations: 0 / 1.276 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.692e-05/0.8238, allocations: 15.98 kB / 1.277 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.8238, allocations: 4 kB / 1.277 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.8238, allocations: 0 / 1.277 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.8238, allocations: 0 / 1.277 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.8238, allocations: 0 / 1.277 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.824, allocations: 183.3 kB / 1.277 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.688e-05/0.824, allocations: 81.11 kB / 1.277 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.8241, allocations: 4 kB / 1.277 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.8242, allocations: 8.031 kB / 1.277 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.8242, allocations: 3.938 kB / 1.277 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.8242, allocations: 4 kB / 1.277 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.674e-05/0.8242, allocations: 87.27 kB / 1.277 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8242, allocations: 0 / 1.277 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002382/0.8245, allocations: 8 kB / 1.277 GB, free: 12.24 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.000576/0.825, allocations: 0.7095 MB / 1.278 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001308/0.8252, allocations: 40.16 kB / 1.278 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8252, allocations: 256 / 1.278 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.165e-05/0.8252, allocations: 27.92 kB / 1.278 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.8255, allocations: 15.88 kB / 1.278 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.8272, allocations: 1.53 MB / 1.279 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.8275, allocations: 0.6846 MB / 1.28 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.74e-05/0.8275, allocations: 4 kB / 1.28 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.8276, allocations: 15.44 kB / 1.28 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.8276, allocations: 3.938 kB / 1.28 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02636/0.8539, allocations: 1.661 MB / 1.281 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.209/9.062, allocations: 13.52 kB / 1.281 GB, free: 7.449 MB / 0.9825 GB " [Timeout remaining time 291] (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_2/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: 15.006777120754123]