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.001378/0.001378, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001871/0.001871, allocations: 211.1 kB / 22.24 MB, free: 5.262 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.471/1.471, allocations: 230.6 MB / 256 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.257/3.257, allocations: 0.4892 GB / 0.7943 GB, free: 35.42 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_12_Buildings_Media_Examples_SteamProperties",fmuType="me",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.002046/0.002046, allocations: 64.14 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3658, allocations: 176.1 MB / 1.325 GB, free: 2.293 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1632/0.5289, allocations: 119.6 MB / 1.442 GB, free: 10.23 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.03058/0.5595, allocations: 20.24 MB / 1.462 GB, free: 5.922 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.5597, allocations: 0 / 1.462 GB, free: 5.922 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.56, allocations: 39.7 kB / 1.462 GB, free: 5.883 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.5603, allocations: 103.3 kB / 1.462 GB, free: 5.781 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.01862/0.5789, allocations: 6.942 MB / 1.469 GB, free: 14.85 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0005008/0.5794, allocations: 243.9 kB / 1.469 GB, free: 14.61 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 6.558e-05/0.5795, allocations: 13.73 kB / 1.469 GB, free: 14.6 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003941/0.5799, allocations: 151.4 kB / 1.469 GB, free: 14.45 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.58, allocations: 87.66 kB / 1.469 GB, free: 14.36 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.5801, allocations: 12 kB / 1.469 GB, free: 14.35 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02511/0.6052, allocations: 11.11 MB / 1.48 GB, free: 3.227 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.6054, allocations: 43.83 kB / 1.48 GB, free: 3.184 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002303/0.6056, allocations: 75.7 kB / 1.48 GB, free: 3.109 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01802/0.6236, allocations: 6.482 MB / 1.486 GB, free: 12.61 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.6236, allocations: 0 / 1.486 GB, free: 12.61 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6236, allocations: 0 / 1.486 GB, free: 12.61 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.6236, allocations: 0 / 1.486 GB, free: 12.61 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.003438/0.6271, allocations: 1.159 MB / 1.487 GB, free: 11.42 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.6271, allocations: 8.031 kB / 1.487 GB, free: 11.41 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.69e-05/0.6272, allocations: 58.72 kB / 1.488 GB, free: 11.34 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.6283, allocations: 92.69 kB / 1.488 GB, free: 11.25 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.6286, allocations: 174.2 kB / 1.488 GB, free: 11.06 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.6286, allocations: 11.94 kB / 1.488 GB, free: 11.05 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.6287, allocations: 16 kB / 1.488 GB, free: 11.03 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.63, allocations: 0.6703 MB / 1.488 GB, free: 10.29 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.63, allocations: 0 / 1.488 GB, free: 10.29 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/0.63, allocations: 12 kB / 1.488 GB, free: 10.28 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.63, allocations: 4 kB / 1.488 GB, free: 10.28 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.6314, allocations: 0.6088 MB / 1.489 GB, free: 9.668 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.6325, allocations: 0.7342 MB / 1.49 GB, free: 8.879 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008328/0.6333, allocations: 240.4 kB / 1.49 GB, free: 8.637 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.6335, allocations: 60.83 kB / 1.49 GB, free: 8.574 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0917/0.7252, allocations: 23.36 MB / 1.513 GB, free: 1.172 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.7252, allocations: 38.56 kB / 1.513 GB, free: 1.125 MB / 1.201 GB Notification: Performance of pre-optimization done (n=25): time 1.773e-06/0.7252, allocations: 0 / 1.513 GB, free: 1.125 MB / 1.201 GB Notification: Performance of matching and sorting (n=25): time 0.001857/0.7271, allocations: 419.6 kB / 1.513 GB, free: 0.7109 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.7271, allocations: 59.34 kB / 1.513 GB, free: 0.6406 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.7273, allocations: 143.5 kB / 1.514 GB, free: 0.4922 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/0.7273, allocations: 33.7 kB / 1.514 GB, free: 464 kB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 8.568e-05/0.7274, allocations: 116.4 kB / 1.514 GB, free: 344 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 8.069e-05/0.7275, allocations: 79.23 kB / 1.514 GB, free: 264 kB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.7276, allocations: 81.66 kB / 1.514 GB, free: 176 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.7278, allocations: 326.8 kB / 1.514 GB, free: 15.84 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.7279, allocations: 75.95 kB / 1.514 GB, free: 15.77 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.7282, allocations: 133.1 kB / 1.514 GB, free: 15.62 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004819/0.7287, allocations: 215.7 kB / 1.515 GB, free: 15.39 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.7287, allocations: 4 kB / 1.515 GB, free: 15.39 MB / 1.217 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008089/0.7295, allocations: 301.3 kB / 1.515 GB, free: 15.09 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.7295, allocations: 4 kB / 1.515 GB, free: 15.09 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.7295, allocations: 4 kB / 1.515 GB, free: 15.08 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.7296, allocations: 0 / 1.515 GB, free: 15.08 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.7299, allocations: 87.81 kB / 1.515 GB, free: 15 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.7299, allocations: 0 / 1.515 GB, free: 15 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.7301, allocations: 31.72 kB / 1.515 GB, free: 14.96 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.395e-05/0.7301, allocations: 24.14 kB / 1.515 GB, free: 14.94 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.0001763/0.7303, allocations: 130.4 kB / 1.515 GB, free: 14.8 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.7305, allocations: 19.84 kB / 1.515 GB, free: 14.79 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003065/0.7335, allocations: 2.488 MB / 1.518 GB, free: 12.29 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/0.7336, allocations: 11.98 kB / 1.518 GB, free: 12.27 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.7336, allocations: 4 kB / 1.518 GB, free: 12.27 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.7336, allocations: 3.938 kB / 1.518 GB, free: 12.27 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004249/0.7378, allocations: 3.583 MB / 1.521 GB, free: 8.574 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.7378, allocations: 0 / 1.521 GB, free: 8.574 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/0.7381, allocations: 51.95 kB / 1.521 GB, free: 8.523 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.407e-05/0.7381, allocations: 11.92 kB / 1.521 GB, free: 8.512 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.7382, allocations: 7.984 kB / 1.521 GB, free: 8.504 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.606e-05/0.7382, allocations: 7.938 kB / 1.521 GB, free: 8.496 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7382, allocations: 0 / 1.521 GB, free: 8.496 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009216/0.7391, allocations: 0.5546 MB / 1.522 GB, free: 7.926 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.7393, allocations: 63.56 kB / 1.522 GB, free: 7.863 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.7393, allocations: 15.88 kB / 1.522 GB, free: 7.848 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.7395, allocations: 11.98 kB / 1.522 GB, free: 7.836 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.7396, allocations: 15.97 kB / 1.522 GB, free: 7.82 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.7396, allocations: 16 kB / 1.522 GB, free: 7.805 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001005/0.7397, allocations: 108.7 kB / 1.522 GB, free: 7.699 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.7397, allocations: 4 kB / 1.522 GB, free: 7.695 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.004734/0.7444, allocations: 1.715 MB / 1.524 GB, free: 5.977 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.01016/0.7546, allocations: 2.957 MB / 1.526 GB, free: 2.988 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0008182/0.7554, allocations: 317.3 kB / 1.527 GB, free: 2.68 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.7554, allocations: 0 / 1.527 GB, free: 2.68 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003158/0.7557, allocations: 196.5 kB / 1.527 GB, free: 2.488 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005897/0.7563, allocations: 68.19 kB / 1.527 GB, free: 2.422 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006536/0.7629, allocations: 3.107 MB / 1.53 GB, free: 15.2 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.7631, allocations: 156.7 kB / 1.53 GB, free: 15.03 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0006707/0.7637, allocations: 405.2 kB / 1.531 GB, free: 14.63 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.764, allocations: 103.4 kB / 1.531 GB, free: 14.53 MB / 1.232 GB Notification: Performance of SimCode: time 1.202e-06/0.764, allocations: 0 / 1.531 GB, free: 14.53 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1318/0.8958, allocations: 64.24 MB / 1.593 GB, free: 14.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.65/16.55, allocations: 3.75 kB / 1.593 GB, free: 14.4 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: 23.49447010597214]