Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamProperties.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.001322/0.001322, 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.001563/0.001563, allocations: 220.8 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.559/1.559, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.385/3.385, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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.SteamProperties,fileNamePrefix="Buildings_12_Buildings_Media_Examples_SteamProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_12_Buildings_Media_Examples_SteamProperties",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.002027/0.002027, allocations: 66.36 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4197, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.176/0.5956, allocations: 119.5 MB / 1.443 GB, free: 9.492 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.03248/0.6281, allocations: 20.22 MB / 1.463 GB, free: 5.211 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/0.6283, allocations: 7.938 kB / 1.463 GB, free: 5.203 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0003796/0.6287, allocations: 35.7 kB / 1.463 GB, free: 5.168 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0004765/0.6292, allocations: 99.41 kB / 1.463 GB, free: 5.07 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.02426/0.6534, allocations: 6.951 MB / 1.47 GB, free: 14.13 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0006262/0.6541, allocations: 255.9 kB / 1.47 GB, free: 13.88 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 7.495e-05/0.6542, allocations: 9.734 kB / 1.47 GB, free: 13.87 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004891/0.6546, allocations: 147.4 kB / 1.47 GB, free: 13.72 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.6549, allocations: 95.59 kB / 1.47 GB, free: 13.63 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.543e-05/0.6549, allocations: 8 kB / 1.47 GB, free: 13.62 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02795/0.6829, allocations: 11.54 MB / 1.482 GB, free: 2.07 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.683, allocations: 39.83 kB / 1.482 GB, free: 2.031 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.6832, allocations: 71.77 kB / 1.482 GB, free: 1.961 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01943/0.7026, allocations: 6.486 MB / 1.488 GB, free: 11.46 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.7026, allocations: 0 / 1.488 GB, free: 11.46 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.986e-06/0.7026, allocations: 0 / 1.488 GB, free: 11.46 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.7027, allocations: 0 / 1.488 GB, free: 11.46 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.005589/0.7082, allocations: 1.16 MB / 1.489 GB, free: 10.27 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.97e-05/0.7083, allocations: 15.97 kB / 1.489 GB, free: 10.25 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.947e-05/0.7083, allocations: 4.188 kB / 1.489 GB, free: 10.25 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.518e-05/0.7084, allocations: 54.67 kB / 1.489 GB, free: 10.18 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.7098, allocations: 84.75 kB / 1.489 GB, free: 10.1 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005238/0.7103, allocations: 174 kB / 1.49 GB, free: 9.906 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.7103, allocations: 16 kB / 1.49 GB, free: 9.891 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.96e-05/0.7104, allocations: 12 kB / 1.49 GB, free: 9.879 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/0.7123, allocations: 0.6781 MB / 1.49 GB, free: 9.133 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.7123, allocations: 0 / 1.49 GB, free: 9.133 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/0.7123, allocations: 4 kB / 1.49 GB, free: 9.129 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.7123, allocations: 4 kB / 1.49 GB, free: 9.125 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.714, allocations: 0.6205 MB / 1.491 GB, free: 8.504 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.7154, allocations: 0.7342 MB / 1.492 GB, free: 7.715 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009646/0.7164, allocations: 243 kB / 1.492 GB, free: 7.469 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.7165, allocations: 64.77 kB / 1.492 GB, free: 7.402 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08708/0.8036, allocations: 23.36 MB / 1.515 GB, free: 15.99 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.8037, allocations: 38.56 kB / 1.515 GB, free: 15.95 MB / 1.217 GB Notification: Performance of pre-optimization done (n=25): time 1.873e-06/0.8037, allocations: 0 / 1.515 GB, free: 15.95 MB / 1.217 GB Notification: Performance of matching and sorting (n=25): time 0.001986/0.8056, allocations: 427 kB / 1.515 GB, free: 15.53 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.8057, allocations: 55.41 kB / 1.515 GB, free: 15.46 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.8058, allocations: 139.5 kB / 1.515 GB, free: 15.32 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.831e-05/0.8059, allocations: 33.7 kB / 1.515 GB, free: 15.28 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 8.236e-05/0.806, allocations: 112.4 kB / 1.516 GB, free: 15.16 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 9.21e-05/0.8061, allocations: 87.22 kB / 1.516 GB, free: 15.08 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.8062, allocations: 73.67 kB / 1.516 GB, free: 15 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.8063, allocations: 326.8 kB / 1.516 GB, free: 14.67 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.8065, allocations: 87.94 kB / 1.516 GB, free: 14.59 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/0.8068, allocations: 125.1 kB / 1.516 GB, free: 14.45 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000492/0.8073, allocations: 215.5 kB / 1.516 GB, free: 14.22 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.8073, allocations: 7.938 kB / 1.516 GB, free: 14.21 MB / 1.217 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008716/0.8082, allocations: 303.3 kB / 1.517 GB, free: 13.91 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.8082, allocations: 4 kB / 1.517 GB, free: 13.91 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.8082, allocations: 0 / 1.517 GB, free: 13.91 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.8082, allocations: 7.938 kB / 1.517 GB, free: 13.9 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.8086, allocations: 75.94 kB / 1.517 GB, free: 13.83 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.8086, allocations: 11.88 kB / 1.517 GB, free: 13.82 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.8088, allocations: 15.89 kB / 1.517 GB, free: 13.8 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.735e-05/0.8088, allocations: 27.98 kB / 1.517 GB, free: 13.77 MB / 1.217 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 (30): * Single equations (assignments): 30 * 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.0001613/0.809, allocations: 134.2 kB / 1.517 GB, free: 13.63 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.8092, allocations: 15.91 kB / 1.517 GB, free: 13.62 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002903/0.8121, allocations: 2.491 MB / 1.519 GB, free: 11.11 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.8121, allocations: 15.98 kB / 1.519 GB, free: 11.1 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.8121, allocations: 3.938 kB / 1.519 GB, free: 11.09 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.8121, allocations: 0 / 1.519 GB, free: 11.09 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003868/0.816, allocations: 3.586 MB / 1.523 GB, free: 7.398 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.816, allocations: 0 / 1.523 GB, free: 7.398 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002993/0.8163, allocations: 59.89 kB / 1.523 GB, free: 7.34 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.8163, allocations: 3.938 kB / 1.523 GB, free: 7.336 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.8163, allocations: 11.98 kB / 1.523 GB, free: 7.324 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.8163, allocations: 0 / 1.523 GB, free: 7.324 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8163, allocations: 4 kB / 1.523 GB, free: 7.32 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008734/0.8172, allocations: 0.5468 MB / 1.524 GB, free: 6.758 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.8173, allocations: 71.5 kB / 1.524 GB, free: 6.688 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.8174, allocations: 4 kB / 1.524 GB, free: 6.684 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.8176, allocations: 15.98 kB / 1.524 GB, free: 6.668 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.8177, allocations: 19.97 kB / 1.524 GB, free: 6.648 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.8177, allocations: 8 kB / 1.524 GB, free: 6.641 MB / 1.217 GB Notification: Performance of sorting global known variables: time 8.847e-05/0.8178, allocations: 109.3 kB / 1.524 GB, free: 6.535 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.8178, allocations: 0 / 1.524 GB, free: 6.535 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00467/0.8224, allocations: 1.719 MB / 1.525 GB, free: 4.812 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01089/0.8333, allocations: 2.973 MB / 1.528 GB, free: 1.809 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.000785/0.8341, allocations: 316.4 kB / 1.529 GB, free: 1.5 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.8341, allocations: 0 / 1.529 GB, free: 1.5 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003531/0.8345, allocations: 197.2 kB / 1.529 GB, free: 1.309 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005982/0.8351, allocations: 64.25 kB / 1.529 GB, free: 1.246 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006409/0.8415, allocations: 3.103 MB / 1.532 GB, free: 14.04 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.8417, allocations: 160.6 kB / 1.532 GB, free: 13.86 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.000649/0.8423, allocations: 405 kB / 1.532 GB, free: 13.46 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/0.8425, allocations: 91.39 kB / 1.533 GB, free: 13.37 MB / 1.232 GB Notification: Performance of SimCode: time 7.02e-07/0.8425, allocations: 4 kB / 1.533 GB, free: 13.37 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1261/0.9687, allocations: 64.02 MB / 1.595 GB, free: 13.48 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.01/16.98, allocations: 11.38 kB / 1.595 GB, free: 13.48 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.SteamProperties_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_SteamProperties.fmu > Buildings_12_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.SteamProperties.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: 25.15583909396082]