Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 106.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.117/3.117, allocations: 497.2 MB / 0.7811 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 67.58 kB / 1.134 GB, free: 33.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3298, allocations: 173.9 MB / 1.304 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1654/0.4952, allocations: 136.5 MB / 1.437 GB, free: 8.516 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.03254/0.5277, allocations: 22.76 MB / 1.459 GB, free: 1.688 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.5279, allocations: 0 / 1.459 GB, free: 1.688 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.5282, allocations: 43.69 kB / 1.46 GB, free: 1.645 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003527/0.5286, allocations: 91.41 kB / 1.46 GB, free: 1.555 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.02033/0.5489, allocations: 6.961 MB / 1.466 GB, free: 10.61 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0004644/0.5494, allocations: 255.8 kB / 1.467 GB, free: 10.35 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 6.697e-05/0.5494, allocations: 9.562 kB / 1.467 GB, free: 10.34 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003998/0.5498, allocations: 139.4 kB / 1.467 GB, free: 10.21 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.55, allocations: 91.66 kB / 1.467 GB, free: 10.12 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.55, allocations: 11.98 kB / 1.467 GB, free: 10.11 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02371/0.5737, allocations: 11.67 MB / 1.478 GB, free: 14.42 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.5739, allocations: 39.88 kB / 1.478 GB, free: 14.38 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.574, allocations: 79.66 kB / 1.478 GB, free: 14.3 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01475/0.5888, allocations: 6.494 MB / 1.485 GB, free: 7.793 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.5888, allocations: 0 / 1.485 GB, free: 7.793 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5888, allocations: 0 / 1.485 GB, free: 7.793 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.5888, allocations: 0 / 1.485 GB, free: 7.793 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.003398/0.5922, allocations: 1.242 MB / 1.486 GB, free: 6.496 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.5923, allocations: 8.625 kB / 1.486 GB, free: 6.488 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.727e-05/0.5923, allocations: 58.73 kB / 1.486 GB, free: 6.422 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.5934, allocations: 84.75 kB / 1.486 GB, free: 6.34 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.5937, allocations: 228.1 kB / 1.486 GB, free: 6.078 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.5938, allocations: 15.88 kB / 1.486 GB, free: 6.062 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.5938, allocations: 16 kB / 1.486 GB, free: 6.047 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.595, allocations: 449.1 kB / 1.487 GB, free: 5.59 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.595, allocations: 4 kB / 1.487 GB, free: 5.586 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.595, allocations: 12 kB / 1.487 GB, free: 5.574 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.595, allocations: 7.938 kB / 1.487 GB, free: 5.566 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.5964, allocations: 0.597 MB / 1.487 GB, free: 4.969 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.5976, allocations: 0.8784 MB / 1.488 GB, free: 4.004 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008686/0.5985, allocations: 231.6 kB / 1.488 GB, free: 3.77 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.5986, allocations: 72.77 kB / 1.489 GB, free: 3.695 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09608/0.6947, allocations: 35.42 MB / 1.523 GB, free: 13.18 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.493e-05/0.6948, allocations: 38.56 kB / 1.523 GB, free: 13.13 MB / 1.232 GB Notification: Performance of pre-optimization done (n=25): time 2.144e-06/0.6948, allocations: 0 / 1.523 GB, free: 13.13 MB / 1.232 GB Notification: Performance of matching and sorting (n=25): time 0.002011/0.6968, allocations: 413.5 kB / 1.524 GB, free: 12.72 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.6969, allocations: 55.34 kB / 1.524 GB, free: 12.66 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.697, allocations: 151.1 kB / 1.524 GB, free: 12.5 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/0.6971, allocations: 33.69 kB / 1.524 GB, free: 12.46 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.6972, allocations: 104.5 kB / 1.524 GB, free: 12.36 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002769/0.6975, allocations: 99.14 kB / 1.524 GB, free: 12.26 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.6976, allocations: 81.61 kB / 1.524 GB, free: 12.17 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002937/0.6979, allocations: 326.8 kB / 1.524 GB, free: 11.84 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.6981, allocations: 79.95 kB / 1.524 GB, free: 11.77 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.6984, allocations: 126.6 kB / 1.525 GB, free: 11.62 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000571/0.699, allocations: 224.2 kB / 1.525 GB, free: 11.39 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.699, allocations: 0 / 1.525 GB, free: 11.39 MB / 1.232 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008887/0.6999, allocations: 294.9 kB / 1.525 GB, free: 11.1 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.6999, allocations: 4 kB / 1.525 GB, free: 11.09 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.6999, allocations: 3.984 kB / 1.525 GB, free: 11.09 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.6999, allocations: 8.156 kB / 1.525 GB, free: 11.08 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/0.7002, allocations: 83.88 kB / 1.525 GB, free: 11 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.7003, allocations: 4 kB / 1.525 GB, free: 11 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.7004, allocations: 23.72 kB / 1.525 GB, free: 10.97 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-05/0.7005, allocations: 27.98 kB / 1.525 GB, free: 10.95 MB / 1.232 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.0001513/0.7006, allocations: 125.8 kB / 1.525 GB, free: 10.81 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.7008, allocations: 19.91 kB / 1.525 GB, free: 10.79 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002854/0.7036, allocations: 2.346 MB / 1.528 GB, free: 8.434 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.7037, allocations: 15.98 kB / 1.528 GB, free: 8.418 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.7037, allocations: 0 / 1.528 GB, free: 8.418 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.7037, allocations: 7.922 kB / 1.528 GB, free: 8.41 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003913/0.7076, allocations: 3.428 MB / 1.531 GB, free: 4.867 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.7076, allocations: 0 / 1.531 GB, free: 4.867 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002953/0.7079, allocations: 55.95 kB / 1.531 GB, free: 4.812 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.317e-05/0.7079, allocations: 3.938 kB / 1.531 GB, free: 4.809 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.7079, allocations: 11.98 kB / 1.531 GB, free: 4.797 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.7079, allocations: 0 / 1.531 GB, free: 4.797 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.7079, allocations: 11.94 kB / 1.531 GB, free: 4.785 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008651/0.7088, allocations: 0.5389 MB / 1.532 GB, free: 4.23 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.709, allocations: 140.7 kB / 1.532 GB, free: 4.074 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.709, allocations: 7.938 kB / 1.532 GB, free: 4.066 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.7092, allocations: 11.98 kB / 1.532 GB, free: 4.055 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.7093, allocations: 19.98 kB / 1.532 GB, free: 4.035 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.7094, allocations: 15.98 kB / 1.532 GB, free: 4.02 MB / 1.232 GB Notification: Performance of sorting global known variables: time 9.475e-05/0.7094, allocations: 109 kB / 1.532 GB, free: 3.914 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.7094, allocations: 3.938 kB / 1.532 GB, free: 3.91 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.004967/0.7144, allocations: 1.707 MB / 1.534 GB, free: 2.199 MB / 1.232 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.009807/0.7242, allocations: 2.94 MB / 1.536 GB, free: 15.23 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0008338/0.7251, allocations: 308.3 kB / 1.537 GB, free: 14.93 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.7251, allocations: 4.312 kB / 1.537 GB, free: 14.93 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.00031/0.7254, allocations: 193.2 kB / 1.537 GB, free: 14.74 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006161/0.726, allocations: 67.81 kB / 1.537 GB, free: 14.67 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007033/0.733, allocations: 3.085 MB / 1.54 GB, free: 11.48 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004868/0.7335, allocations: 0.7699 MB / 1.541 GB, free: 10.68 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0006016/0.7341, allocations: 409.2 kB / 1.541 GB, free: 10.27 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.7343, allocations: 91.39 kB / 1.541 GB, free: 10.18 MB / 1.248 GB Notification: Performance of SimCode: time 8.51e-07/0.7343, allocations: 0 / 1.541 GB, free: 10.18 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1239/0.8582, allocations: 63.18 MB / 1.603 GB, free: 11.02 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.46, allocations: 17.73 kB / 1.603 GB, free: 11.01 MB / 1.311 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamProperties.fmu > Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.824512613005936]