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.001298/0.001298, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.001479/0.001479, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.398/1.398, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.043/3.043, allocations: 0.49 GB / 0.7916 GB, free: 33.31 MB / 0.6231 GB " [Timeout remaining time 177] 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.002009/0.002009, allocations: 64.7 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.331, allocations: 176.1 MB / 1.321 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.158/0.489, allocations: 139.4 MB / 1.457 GB, free: 7.438 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03178/0.5208, allocations: 22.8 MB / 1.479 GB, free: 0.5664 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.521, allocations: 4 kB / 1.479 GB, free: 0.5625 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.5213, allocations: 47.67 kB / 1.479 GB, free: 0.5156 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.5216, allocations: 91.42 kB / 1.479 GB, free: 436 kB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.01698/0.5386, allocations: 6.988 MB / 1.486 GB, free: 9.449 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0004205/0.539, allocations: 251.8 kB / 1.486 GB, free: 9.203 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/0.539, allocations: 5.562 kB / 1.486 GB, free: 9.199 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003471/0.5394, allocations: 151.4 kB / 1.487 GB, free: 9.051 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.5396, allocations: 95.59 kB / 1.487 GB, free: 8.957 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.5396, allocations: 8 kB / 1.487 GB, free: 8.949 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02237/0.5619, allocations: 11.67 MB / 1.498 GB, free: 13.26 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.5621, allocations: 31.91 kB / 1.498 GB, free: 13.23 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.5622, allocations: 83.66 kB / 1.498 GB, free: 13.15 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01664/0.5788, allocations: 6.509 MB / 1.504 GB, free: 6.625 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.5788, allocations: 3.938 kB / 1.504 GB, free: 6.621 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5789, allocations: 0 / 1.504 GB, free: 6.621 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.5789, allocations: 0 / 1.504 GB, free: 6.621 MB / 1.201 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.003714/0.5826, allocations: 1.242 MB / 1.506 GB, free: 5.324 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.5826, allocations: 11.98 kB / 1.506 GB, free: 5.312 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.723e-05/0.5827, allocations: 58.67 kB / 1.506 GB, free: 5.246 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.5838, allocations: 84.77 kB / 1.506 GB, free: 5.164 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.5841, allocations: 236.1 kB / 1.506 GB, free: 4.895 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.5841, allocations: 11.94 kB / 1.506 GB, free: 4.883 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.5841, allocations: 16 kB / 1.506 GB, free: 4.867 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.5853, allocations: 452.3 kB / 1.507 GB, free: 4.406 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.5853, allocations: 0 / 1.507 GB, free: 4.406 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.5853, allocations: 8 kB / 1.507 GB, free: 4.398 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.5854, allocations: 11.98 kB / 1.507 GB, free: 4.387 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.5866, allocations: 0.5931 MB / 1.507 GB, free: 3.793 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.5878, allocations: 0.8746 MB / 1.508 GB, free: 2.832 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008338/0.5886, allocations: 238.4 kB / 1.508 GB, free: 2.59 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.5887, allocations: 60.83 kB / 1.508 GB, free: 2.527 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09552/0.6842, allocations: 36.54 MB / 1.544 GB, free: 10.68 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.6843, allocations: 34.56 kB / 1.544 GB, free: 10.64 MB / 1.248 GB Notification: Performance of pre-optimization done (n=25): time 2.014e-06/0.6843, allocations: 0 / 1.544 GB, free: 10.64 MB / 1.248 GB Notification: Performance of matching and sorting (n=25): time 0.001863/0.6861, allocations: 424.9 kB / 1.544 GB, free: 10.22 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.6862, allocations: 55.41 kB / 1.544 GB, free: 10.15 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.6863, allocations: 140.1 kB / 1.545 GB, free: 10.01 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.718e-05/0.6864, allocations: 37.7 kB / 1.545 GB, free: 9.965 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 8.082e-05/0.6864, allocations: 112.5 kB / 1.545 GB, free: 9.848 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 8.419e-05/0.6865, allocations: 87.2 kB / 1.545 GB, free: 9.762 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.6867, allocations: 81.61 kB / 1.545 GB, free: 9.676 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.6868, allocations: 326.8 kB / 1.545 GB, free: 9.348 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.687, allocations: 83.94 kB / 1.545 GB, free: 9.266 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.6873, allocations: 133.1 kB / 1.545 GB, free: 9.117 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000467/0.6877, allocations: 214.7 kB / 1.546 GB, free: 8.891 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.6877, allocations: 0 / 1.546 GB, free: 8.891 MB / 1.248 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008188/0.6886, allocations: 303.7 kB / 1.546 GB, free: 8.59 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.6886, allocations: 8 kB / 1.546 GB, free: 8.582 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.6886, allocations: 0 / 1.546 GB, free: 8.582 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.6886, allocations: 4 kB / 1.546 GB, free: 8.578 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/0.6889, allocations: 79.88 kB / 1.546 GB, free: 8.5 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.6889, allocations: 0 / 1.546 GB, free: 8.5 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.6891, allocations: 27.77 kB / 1.546 GB, free: 8.473 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-05/0.6891, allocations: 23.97 kB / 1.546 GB, free: 8.449 MB / 1.248 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.0001484/0.6893, allocations: 137.9 kB / 1.546 GB, free: 8.305 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/0.6894, allocations: 15.91 kB / 1.546 GB, free: 8.289 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00254/0.692, allocations: 2.342 MB / 1.548 GB, free: 5.926 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.692, allocations: 11.98 kB / 1.548 GB, free: 5.914 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.692, allocations: 4 kB / 1.548 GB, free: 5.91 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.692, allocations: 3.938 kB / 1.548 GB, free: 5.906 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003543/0.6956, allocations: 3.427 MB / 1.552 GB, free: 2.367 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.6956, allocations: 4 kB / 1.552 GB, free: 2.363 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.6958, allocations: 59.94 kB / 1.552 GB, free: 2.305 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.6958, allocations: 3.938 kB / 1.552 GB, free: 2.301 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.6959, allocations: 12 kB / 1.552 GB, free: 2.289 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.6959, allocations: 0 / 1.552 GB, free: 2.289 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.6959, allocations: 3.938 kB / 1.552 GB, free: 2.285 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008473/0.6967, allocations: 0.5467 MB / 1.552 GB, free: 1.723 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.6969, allocations: 136.8 kB / 1.553 GB, free: 1.57 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.6969, allocations: 15.92 kB / 1.553 GB, free: 1.555 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.6971, allocations: 12 kB / 1.553 GB, free: 1.543 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.6972, allocations: 19.97 kB / 1.553 GB, free: 1.523 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/0.6972, allocations: 8 kB / 1.553 GB, free: 1.516 MB / 1.248 GB Notification: Performance of sorting global known variables: time 8.625e-05/0.6973, allocations: 112.9 kB / 1.553 GB, free: 1.406 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.6973, allocations: 0 / 1.553 GB, free: 1.406 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.004605/0.7019, allocations: 1.715 MB / 1.554 GB, free: 15.69 MB / 1.264 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.01077/0.7127, allocations: 2.954 MB / 1.557 GB, free: 12.7 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0008499/0.7135, allocations: 308.3 kB / 1.558 GB, free: 12.4 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.7135, allocations: 0 / 1.558 GB, free: 12.4 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0003651/0.7139, allocations: 193.5 kB / 1.558 GB, free: 12.21 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006463/0.7145, allocations: 64.19 kB / 1.558 GB, free: 12.15 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006575/0.7211, allocations: 3.089 MB / 1.561 GB, free: 8.945 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.7215, allocations: 0.7699 MB / 1.562 GB, free: 8.152 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0005867/0.7221, allocations: 409.1 kB / 1.562 GB, free: 7.746 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.7223, allocations: 95.39 kB / 1.562 GB, free: 7.652 MB / 1.264 GB Notification: Performance of SimCode: time 7.51e-07/0.7223, allocations: 0 / 1.562 GB, free: 7.652 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7589/1.481, allocations: 63.29 MB / 1.624 GB, free: 244.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/13.19, allocations: 14.09 kB / 1.624 GB, free: 244.4 MB / 1.295 GB " [Timeout remaining time 287] (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: 19.634035897208378]