Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001647/0.001647, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001986/0.001986, allocations: 215.4 kB / 23.03 MB, free: 4.922 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.556/1.556, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.178/3.178, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_12_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.002035/0.002035, allocations: 62.8 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4206, allocations: 176.1 MB / 1.327 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.003173/0.4238, allocations: 1.279 MB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1713/0.5951, allocations: 120.8 MB / 1.446 GB, free: 6.949 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.784e-05/0.5952, allocations: 0 / 1.446 GB, free: 6.949 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.5952, allocations: 0 / 1.446 GB, free: 6.949 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 6.321e-05/0.5953, allocations: 7.922 kB / 1.446 GB, free: 6.941 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.5972, allocations: 466.6 kB / 1.446 GB, free: 6.484 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.5974, allocations: 39.91 kB / 1.446 GB, free: 6.445 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.935e-05/0.5974, allocations: 0 / 1.446 GB, free: 6.445 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 7.57e-05/0.5975, allocations: 31.84 kB / 1.446 GB, free: 6.414 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.5976, allocations: 15.98 kB / 1.446 GB, free: 6.398 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.5976, allocations: 3.938 kB / 1.446 GB, free: 6.395 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002016/0.5997, allocations: 0.8231 MB / 1.447 GB, free: 5.57 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/0.5997, allocations: 11.92 kB / 1.447 GB, free: 5.559 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 4.592e-05/0.5997, allocations: 11.98 kB / 1.447 GB, free: 5.547 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.000924/0.6007, allocations: 447 kB / 1.448 GB, free: 5.109 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.6007, allocations: 0 / 1.448 GB, free: 5.109 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.976e-06/0.6007, allocations: 0 / 1.448 GB, free: 5.109 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.6007, allocations: 0 / 1.448 GB, free: 5.109 MB / 1.139 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.0007701/0.6015, allocations: 302.1 kB / 1.448 GB, free: 4.785 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/0.6015, allocations: 11.97 kB / 1.448 GB, free: 4.773 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.273e-05/0.6015, allocations: 192 / 1.448 GB, free: 4.773 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.632e-05/0.6016, allocations: 38.75 kB / 1.448 GB, free: 4.727 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002456/0.6018, allocations: 12.92 kB / 1.448 GB, free: 4.715 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.602, allocations: 102.5 kB / 1.448 GB, free: 4.59 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.602, allocations: 8.125 kB / 1.448 GB, free: 4.582 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.602, allocations: 8 kB / 1.448 GB, free: 4.574 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.6023, allocations: 138.7 kB / 1.448 GB, free: 4.414 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.6023, allocations: 0 / 1.448 GB, free: 4.414 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.6023, allocations: 4 kB / 1.448 GB, free: 4.41 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.6023, allocations: 0 / 1.448 GB, free: 4.41 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.626e-05/0.6024, allocations: 19.98 kB / 1.448 GB, free: 4.391 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002115/0.6026, allocations: 132.7 kB / 1.448 GB, free: 4.219 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.6028, allocations: 54.44 kB / 1.448 GB, free: 4.156 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.915e-05/0.6028, allocations: 20.84 kB / 1.448 GB, free: 4.133 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0114/0.6142, allocations: 2.864 MB / 1.451 GB, free: 1.266 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.449e-05/0.6142, allocations: 34.56 kB / 1.451 GB, free: 1.223 MB / 1.139 GB Notification: Performance of pre-optimization done (n=7): time 2.384e-06/0.6142, allocations: 0 / 1.451 GB, free: 1.223 MB / 1.139 GB Notification: Performance of matching and sorting (n=11): time 0.044/0.6582, allocations: 14.93 MB / 1.466 GB, free: 2.16 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.6583, allocations: 51.41 kB / 1.466 GB, free: 2.098 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.6584, allocations: 93.86 kB / 1.466 GB, free: 1.996 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.6584, allocations: 25.7 kB / 1.466 GB, free: 1.965 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/0.6585, allocations: 84.14 kB / 1.466 GB, free: 1.879 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.577e-05/0.6585, allocations: 39.67 kB / 1.466 GB, free: 1.84 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.014e-05/0.6586, allocations: 37.78 kB / 1.466 GB, free: 1.797 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.6588, allocations: 322.8 kB / 1.466 GB, free: 1.473 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.661e-05/0.6588, allocations: 31.98 kB / 1.466 GB, free: 1.441 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.797e-05/0.6589, allocations: 19.98 kB / 1.467 GB, free: 1.422 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.659, allocations: 71.42 kB / 1.467 GB, free: 1.352 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.659, allocations: 0 / 1.467 GB, free: 1.352 MB / 1.154 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002372/0.6593, allocations: 101.6 kB / 1.467 GB, free: 1.246 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.6593, allocations: 4 kB / 1.467 GB, free: 1.242 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.6593, allocations: 0 / 1.467 GB, free: 1.242 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.6593, allocations: 4 kB / 1.467 GB, free: 1.238 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.6594, allocations: 35.91 kB / 1.467 GB, free: 1.203 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.6595, allocations: 4 kB / 1.467 GB, free: 1.199 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.138e-05/0.6595, allocations: 3.938 kB / 1.467 GB, free: 1.195 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.6595, allocations: 4 kB / 1.467 GB, free: 1.191 MB / 1.154 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.0001314/0.6596, allocations: 118.3 kB / 1.467 GB, free: 1.066 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.755e-05/0.6597, allocations: 3.953 kB / 1.467 GB, free: 1.062 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/0.66, allocations: 125.4 kB / 1.467 GB, free: 0.9336 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.66, allocations: 11.98 kB / 1.467 GB, free: 0.9219 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.66, allocations: 0 / 1.467 GB, free: 0.9219 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.66, allocations: 0 / 1.467 GB, free: 0.9219 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.6602, allocations: 144.7 kB / 1.467 GB, free: 0.7383 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6602, allocations: 0 / 1.467 GB, free: 0.7383 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.6603, allocations: 20 kB / 1.467 GB, free: 0.7188 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.6603, allocations: 3.984 kB / 1.467 GB, free: 0.7148 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.6603, allocations: 4 kB / 1.467 GB, free: 0.7109 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.6603, allocations: 4 kB / 1.467 GB, free: 0.707 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6603, allocations: 0 / 1.467 GB, free: 0.707 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.6607, allocations: 164.9 kB / 1.467 GB, free: 0.5273 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 6.366e-05/0.6607, allocations: 15.98 kB / 1.467 GB, free: 0.5117 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.6608, allocations: 0 / 1.467 GB, free: 0.5117 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.6609, allocations: 15.94 kB / 1.467 GB, free: 0.4961 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.661, allocations: 7.984 kB / 1.467 GB, free: 500 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.661, allocations: 11.98 kB / 1.467 GB, free: 488 kB / 1.154 GB Notification: Performance of sorting global known variables: time 7.953e-05/0.6611, allocations: 79.28 kB / 1.467 GB, free: 408 kB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.6611, allocations: 0 / 1.467 GB, free: 408 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.002473/0.6635, allocations: 0.566 MB / 1.468 GB, free: 15.83 MB / 1.17 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.005141/0.6687, allocations: 0.9439 MB / 1.469 GB, free: 14.86 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.6689, allocations: 63.03 kB / 1.469 GB, free: 14.8 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.6689, allocations: 0 / 1.469 GB, free: 14.8 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 7.939e-05/0.669, allocations: 35.92 kB / 1.469 GB, free: 14.77 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.6693, allocations: 14.22 kB / 1.469 GB, free: 14.75 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003271/0.6725, allocations: 1.541 MB / 1.471 GB, free: 13.13 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.017e-05/0.6726, allocations: 79.33 kB / 1.471 GB, free: 13.03 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 9.039e-05/0.6727, allocations: 20.55 kB / 1.471 GB, free: 13.01 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.384e-05/0.6728, allocations: 23.42 kB / 1.471 GB, free: 12.99 MB / 1.17 GB Notification: Performance of SimCode: time 8.91e-07/0.6728, allocations: 0 / 1.471 GB, free: 12.99 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0691/0.7419, allocations: 25.72 MB / 1.496 GB, free: 3.395 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.19, allocations: 8.375 kB / 1.496 GB, free: 3.391 MB / 1.186 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-10 Buildings_12_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.885408475995064]