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.001605/0.001605, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001876/0.001876, allocations: 218.6 kB / 23.03 MB, free: 4.945 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.95/2.95, allocations: 476.8 MB / 0.7715 GB, free: 3.902 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.002674/0.002674, allocations: 62.86 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3804, allocations: 170 MB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002851/0.3833, allocations: 1.278 MB / 1.285 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1786/0.5618, allocations: 120.8 MB / 1.403 GB, free: 132 kB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.887e-05/0.5619, allocations: 0 / 1.403 GB, free: 132 kB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 1.988e-05/0.5619, allocations: 3.938 kB / 1.403 GB, free: 128 kB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 5.347e-05/0.562, allocations: 11.91 kB / 1.403 GB, free: 116 kB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.5636, allocations: 465.9 kB / 1.404 GB, free: 15.66 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 8.78e-05/0.5637, allocations: 39.86 kB / 1.404 GB, free: 15.62 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 3.783e-05/0.5637, allocations: 0 / 1.404 GB, free: 15.62 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 5.906e-05/0.5638, allocations: 27.91 kB / 1.404 GB, free: 15.59 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 8.006e-05/0.5639, allocations: 15.98 kB / 1.404 GB, free: 15.58 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.5639, allocations: 0 / 1.404 GB, free: 15.58 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001723/0.5656, allocations: 0.8192 MB / 1.405 GB, free: 14.76 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 2.95e-05/0.5656, allocations: 15.92 kB / 1.405 GB, free: 14.74 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 3.628e-05/0.5657, allocations: 11.98 kB / 1.405 GB, free: 14.73 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0008377/0.5665, allocations: 447 kB / 1.405 GB, free: 14.29 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5665, allocations: 0 / 1.405 GB, free: 14.29 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5665, allocations: 4 kB / 1.405 GB, free: 14.29 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.5665, allocations: 0 / 1.405 GB, free: 14.29 MB / 1.107 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.0006212/0.5671, allocations: 298.1 kB / 1.405 GB, free: 13.97 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.5672, allocations: 8.031 kB / 1.405 GB, free: 13.96 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.85e-05/0.5672, allocations: 192 / 1.405 GB, free: 13.96 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.876e-05/0.5673, allocations: 42.73 kB / 1.405 GB, free: 13.91 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/0.5675, allocations: 12.89 kB / 1.405 GB, free: 13.9 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.5676, allocations: 106.5 kB / 1.406 GB, free: 13.77 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.5676, allocations: 12.06 kB / 1.406 GB, free: 13.76 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.5676, allocations: 8 kB / 1.406 GB, free: 13.75 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.5678, allocations: 138.8 kB / 1.406 GB, free: 13.59 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.5678, allocations: 0 / 1.406 GB, free: 13.59 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.5679, allocations: 0 / 1.406 GB, free: 13.59 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.5679, allocations: 0 / 1.406 GB, free: 13.59 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.162e-05/0.5679, allocations: 23.97 kB / 1.406 GB, free: 13.57 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002155/0.5682, allocations: 132.8 kB / 1.406 GB, free: 13.39 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.5683, allocations: 58.42 kB / 1.406 GB, free: 13.33 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.735e-05/0.5683, allocations: 16.86 kB / 1.406 GB, free: 13.31 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0115/0.5798, allocations: 2.868 MB / 1.409 GB, free: 10.44 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.016e-05/0.5799, allocations: 34.56 kB / 1.409 GB, free: 10.39 MB / 1.107 GB Notification: Performance of pre-optimization done (n=7): time 2.465e-06/0.5799, allocations: 0 / 1.409 GB, free: 10.39 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.0444/0.6243, allocations: 14.92 MB / 1.423 GB, free: 11.34 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/0.6244, allocations: 51.41 kB / 1.423 GB, free: 11.27 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.206e-05/0.6244, allocations: 97.84 kB / 1.423 GB, free: 11.17 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.6245, allocations: 29.7 kB / 1.423 GB, free: 11.13 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.6245, allocations: 88.14 kB / 1.424 GB, free: 11.04 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.212e-05/0.6246, allocations: 39.69 kB / 1.424 GB, free: 11 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/0.6247, allocations: 33.7 kB / 1.424 GB, free: 10.96 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.6248, allocations: 326.8 kB / 1.424 GB, free: 10.64 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.006e-05/0.6249, allocations: 20 kB / 1.424 GB, free: 10.62 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.511e-05/0.6249, allocations: 19.98 kB / 1.424 GB, free: 10.6 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.6251, allocations: 65.59 kB / 1.424 GB, free: 10.53 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.6251, allocations: 0 / 1.424 GB, free: 10.53 MB / 1.123 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002549/0.6253, allocations: 102.8 kB / 1.424 GB, free: 10.43 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.6253, allocations: 6.188 kB / 1.424 GB, free: 10.42 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.6253, allocations: 0 / 1.424 GB, free: 10.42 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.6253, allocations: 11.94 kB / 1.424 GB, free: 10.41 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.6255, allocations: 31.92 kB / 1.424 GB, free: 10.38 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.6255, allocations: 0 / 1.424 GB, free: 10.38 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.831e-05/0.6255, allocations: 0 / 1.424 GB, free: 10.38 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.6255, allocations: 8 kB / 1.424 GB, free: 10.37 MB / 1.123 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 9.86e-05/0.6256, allocations: 117.8 kB / 1.424 GB, free: 10.25 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.902e-05/0.6257, allocations: 11.94 kB / 1.424 GB, free: 10.23 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003024/0.626, allocations: 129.3 kB / 1.424 GB, free: 10.1 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.626, allocations: 4 kB / 1.424 GB, free: 10.1 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.626, allocations: 0 / 1.424 GB, free: 10.1 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.626, allocations: 4 kB / 1.424 GB, free: 10.09 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.6262, allocations: 140.7 kB / 1.425 GB, free: 9.914 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.6262, allocations: 0 / 1.425 GB, free: 9.914 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.6263, allocations: 23.98 kB / 1.425 GB, free: 9.891 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.6263, allocations: 0 / 1.425 GB, free: 9.891 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.6263, allocations: 8 kB / 1.425 GB, free: 9.883 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.6263, allocations: 0 / 1.425 GB, free: 9.883 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6263, allocations: 7.938 kB / 1.425 GB, free: 9.875 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.6266, allocations: 165 kB / 1.425 GB, free: 9.695 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.6267, allocations: 8.031 kB / 1.425 GB, free: 9.688 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.6267, allocations: 4 kB / 1.425 GB, free: 9.684 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.6269, allocations: 11.98 kB / 1.425 GB, free: 9.672 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/0.6269, allocations: 7.984 kB / 1.425 GB, free: 9.664 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.6269, allocations: 8 kB / 1.425 GB, free: 9.656 MB / 1.123 GB Notification: Performance of sorting global known variables: time 3.848e-05/0.6269, allocations: 79.28 kB / 1.425 GB, free: 9.578 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.6269, allocations: 4.094 kB / 1.425 GB, free: 9.574 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001853/0.6288, allocations: 0.566 MB / 1.425 GB, free: 9.008 MB / 1.123 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.004416/0.6332, allocations: 0.9511 MB / 1.426 GB, free: 8.031 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.6334, allocations: 59.91 kB / 1.426 GB, free: 7.973 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6334, allocations: 0 / 1.426 GB, free: 7.973 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 7.504e-05/0.6335, allocations: 35.92 kB / 1.426 GB, free: 7.938 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.6337, allocations: 10.11 kB / 1.426 GB, free: 7.93 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.6365, allocations: 1.552 MB / 1.428 GB, free: 6.297 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.275e-05/0.6366, allocations: 71.84 kB / 1.428 GB, free: 6.207 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 8.34e-05/0.6366, allocations: 24.53 kB / 1.428 GB, free: 6.184 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/0.6367, allocations: 23.44 kB / 1.428 GB, free: 6.16 MB / 1.123 GB Notification: Performance of SimCode: time 5.91e-07/0.6367, allocations: 0 / 1.428 GB, free: 6.16 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06739/0.7041, allocations: 25.71 MB / 1.453 GB, free: 12.58 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.95, allocations: 12.58 kB / 1.453 GB, free: 12.57 MB / 1.154 GB " [Timeout remaining time 287] (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: 29.757360254065134]