Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.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.001359/0.001359, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.001805/0.001805, allocations: 220 kB / 23.04 MB, free: 5.078 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.921/2.921, allocations: 476.7 MB / 0.7714 GB, free: 4.316 MB / 0.6231 GB " [Timeout remaining time 176] 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.SteamDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck",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.002008/0.002008, allocations: 64.36 kB / 1.118 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3554, allocations: 170 MB / 1.284 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002668/0.358, allocations: 1.288 MB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1834/0.5415, allocations: 141 MB / 1.423 GB, free: 12.99 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.188e-05/0.5415, allocations: 0 / 1.423 GB, free: 12.99 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.5416, allocations: 0 / 1.423 GB, free: 12.99 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 4.911e-05/0.5416, allocations: 3.938 kB / 1.423 GB, free: 12.98 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.5431, allocations: 473.8 kB / 1.423 GB, free: 12.52 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 8.992e-05/0.5431, allocations: 39.84 kB / 1.424 GB, free: 12.48 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.15e-05/0.5432, allocations: 7.984 kB / 1.424 GB, free: 12.48 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 5.009e-05/0.5432, allocations: 19.98 kB / 1.424 GB, free: 12.46 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 8.326e-05/0.5433, allocations: 23.91 kB / 1.424 GB, free: 12.43 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.5433, allocations: 0 / 1.424 GB, free: 12.43 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001806/0.5451, allocations: 0.8387 MB / 1.424 GB, free: 11.59 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.5452, allocations: 11.98 kB / 1.424 GB, free: 11.58 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 3.25e-05/0.5452, allocations: 15.92 kB / 1.424 GB, free: 11.57 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0008022/0.546, allocations: 451 kB / 1.425 GB, free: 11.12 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.546, allocations: 4 kB / 1.425 GB, free: 11.12 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.014e-06/0.546, allocations: 0 / 1.425 GB, free: 11.12 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.546, allocations: 0 / 1.425 GB, free: 11.12 MB / 1.123 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.0005807/0.5466, allocations: 298.1 kB / 1.425 GB, free: 10.8 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.5466, allocations: 11.97 kB / 1.425 GB, free: 10.79 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.935e-05/0.5467, allocations: 192 / 1.425 GB, free: 10.79 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.895e-05/0.5467, allocations: 38.73 kB / 1.425 GB, free: 10.74 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001929/0.5469, allocations: 12.94 kB / 1.425 GB, free: 10.73 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.48e-05/0.547, allocations: 106.5 kB / 1.425 GB, free: 10.6 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.547, allocations: 8.125 kB / 1.425 GB, free: 10.59 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.547, allocations: 12 kB / 1.425 GB, free: 10.58 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.5472, allocations: 49.67 kB / 1.425 GB, free: 10.53 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.5472, allocations: 3.938 kB / 1.425 GB, free: 10.52 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.5472, allocations: 0 / 1.425 GB, free: 10.52 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.5472, allocations: 0 / 1.425 GB, free: 10.52 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.819e-05/0.5473, allocations: 27.91 kB / 1.425 GB, free: 10.5 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.5475, allocations: 144.6 kB / 1.426 GB, free: 10.31 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.5476, allocations: 54.5 kB / 1.426 GB, free: 10.25 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.262e-05/0.5476, allocations: 20.78 kB / 1.426 GB, free: 10.23 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01223/0.5598, allocations: 2.856 MB / 1.428 GB, free: 7.367 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.637e-05/0.5599, allocations: 30.56 kB / 1.428 GB, free: 7.328 MB / 1.123 GB Notification: Performance of pre-optimization done (n=7): time 2.785e-06/0.5599, allocations: 0 / 1.428 GB, free: 7.328 MB / 1.123 GB Notification: Performance of matching and sorting (n=11): time 0.04553/0.6054, allocations: 14.92 MB / 1.443 GB, free: 8.273 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.6055, allocations: 59.34 kB / 1.443 GB, free: 8.203 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.803e-05/0.6056, allocations: 93.86 kB / 1.443 GB, free: 8.102 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.6056, allocations: 25.7 kB / 1.443 GB, free: 8.07 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.6056, allocations: 88.2 kB / 1.443 GB, free: 7.98 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 6.014e-05/0.6057, allocations: 47.67 kB / 1.443 GB, free: 7.934 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.685e-05/0.6058, allocations: 33.66 kB / 1.443 GB, free: 7.895 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.6059, allocations: 318.8 kB / 1.444 GB, free: 7.574 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.398e-05/0.606, allocations: 23.98 kB / 1.444 GB, free: 7.551 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.013e-05/0.6061, allocations: 24.48 kB / 1.444 GB, free: 7.527 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.6062, allocations: 61.36 kB / 1.444 GB, free: 7.469 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.6062, allocations: 0 / 1.444 GB, free: 7.469 MB / 1.139 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002437/0.6064, allocations: 109.6 kB / 1.444 GB, free: 7.355 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.6065, allocations: 8 kB / 1.444 GB, free: 7.348 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.6065, allocations: 0 / 1.444 GB, free: 7.348 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.6065, allocations: 4 kB / 1.444 GB, free: 7.344 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.6066, allocations: 19.98 kB / 1.444 GB, free: 7.324 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.6066, allocations: 4 kB / 1.444 GB, free: 7.32 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.401e-05/0.6066, allocations: 8 kB / 1.444 GB, free: 7.312 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.6067, allocations: 4 kB / 1.444 GB, free: 7.309 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 14 * 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.0001078/0.6068, allocations: 117.7 kB / 1.444 GB, free: 7.184 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.428e-05/0.6068, allocations: 11.94 kB / 1.444 GB, free: 7.172 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000324/0.6071, allocations: 133.3 kB / 1.444 GB, free: 7.035 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.6071, allocations: 0 / 1.444 GB, free: 7.035 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.6071, allocations: 0 / 1.444 GB, free: 7.035 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.6072, allocations: 7.984 kB / 1.444 GB, free: 7.027 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.6073, allocations: 144.7 kB / 1.444 GB, free: 6.844 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.6073, allocations: 0 / 1.444 GB, free: 6.844 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.6075, allocations: 31.92 kB / 1.444 GB, free: 6.812 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.6075, allocations: 0 / 1.444 GB, free: 6.812 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.6075, allocations: 4 kB / 1.444 GB, free: 6.809 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.6075, allocations: 3.984 kB / 1.444 GB, free: 6.805 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6075, allocations: 4 kB / 1.444 GB, free: 6.801 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.6078, allocations: 149.1 kB / 1.444 GB, free: 6.637 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.091e-05/0.6079, allocations: 16.03 kB / 1.444 GB, free: 6.621 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.6079, allocations: 3.984 kB / 1.444 GB, free: 6.617 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.608, allocations: 16 kB / 1.445 GB, free: 6.602 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.6081, allocations: 7.984 kB / 1.445 GB, free: 6.594 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.6081, allocations: 8 kB / 1.445 GB, free: 6.586 MB / 1.139 GB Notification: Performance of sorting global known variables: time 3.899e-05/0.6081, allocations: 79.27 kB / 1.445 GB, free: 6.508 MB / 1.139 GB Notification: Performance of sort global known variables: time 5e-08/0.6081, allocations: 0 / 1.445 GB, free: 6.508 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002044/0.6102, allocations: 0.566 MB / 1.445 GB, free: 5.941 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,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 (11): * Single equations (assignments): 11 * 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.005154/0.6153, allocations: 0.9517 MB / 1.446 GB, free: 4.961 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.6156, allocations: 59.91 kB / 1.446 GB, free: 4.902 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6156, allocations: 0 / 1.446 GB, free: 4.902 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 7.657e-05/0.6156, allocations: 31.98 kB / 1.446 GB, free: 4.871 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.6158, allocations: 11.94 kB / 1.446 GB, free: 4.859 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003321/0.6192, allocations: 1.558 MB / 1.448 GB, free: 3.223 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.6195, allocations: 0.685 MB / 1.448 GB, free: 2.512 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001044/0.6196, allocations: 28.55 kB / 1.448 GB, free: 2.484 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.059e-05/0.6197, allocations: 23.42 kB / 1.448 GB, free: 2.461 MB / 1.139 GB Notification: Performance of SimCode: time 9.22e-07/0.6197, allocations: 0 / 1.448 GB, free: 2.461 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06572/0.6854, allocations: 25.67 MB / 1.473 GB, free: 8.902 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.78, allocations: 13.88 kB / 1.473 GB, free: 8.895 MB / 1.17 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-10 Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 28.789512404007837]