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.001248/0.001248, allocations: 116.1 kB / 17.17 MB, free: 6 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.001455/0.001455, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.436/1.436, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.824/2.824, allocations: 0.49 GB / 0.7923 GB, free: 1.352 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.001936/0.001936, allocations: 67.91 kB / 1.15 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9126/0.9145, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1752/1.09, allocations: 139.4 MB / 1.458 GB, free: 3.445 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02923/1.119, allocations: 22.8 MB / 1.48 GB, free: 2.223 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/1.119, allocations: 2.281 kB / 1.48 GB, free: 2.223 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0002901/1.119, allocations: 47.39 kB / 1.48 GB, free: 2.184 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003166/1.12, allocations: 98.92 kB / 1.48 GB, free: 2.102 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.02373/1.143, allocations: 6.969 MB / 1.487 GB, free: 13.38 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0007052/1.144, allocations: 253.1 kB / 1.487 GB, free: 13.25 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 7.213e-05/1.144, allocations: 10.7 kB / 1.487 GB, free: 13.24 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000514/1.145, allocations: 153 kB / 1.487 GB, free: 13.16 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/1.145, allocations: 89.09 kB / 1.487 GB, free: 13.11 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/1.145, allocations: 8.781 kB / 1.487 GB, free: 13.11 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02592/1.171, allocations: 11.68 MB / 1.499 GB, free: 4.023 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/1.171, allocations: 35.89 kB / 1.499 GB, free: 3.988 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001884/1.171, allocations: 87.64 kB / 1.499 GB, free: 3.902 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01717/1.188, allocations: 6.497 MB / 1.505 GB, free: 13.39 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/1.188, allocations: 0 / 1.505 GB, free: 13.39 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.543e-06/1.188, allocations: 4 kB / 1.505 GB, free: 13.39 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.149e-05/1.188, allocations: 0 / 1.505 GB, free: 13.39 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.003873/1.192, allocations: 1.246 MB / 1.506 GB, free: 12.09 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/1.192, allocations: 15.98 kB / 1.506 GB, free: 12.07 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.136e-05/1.192, allocations: 12.12 kB / 1.506 GB, free: 12.06 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.336e-05/1.192, allocations: 46.73 kB / 1.506 GB, free: 12 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/1.194, allocations: 88.75 kB / 1.507 GB, free: 11.92 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003643/1.194, allocations: 231.9 kB / 1.507 GB, free: 11.65 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/1.194, allocations: 8 kB / 1.507 GB, free: 11.64 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/1.194, allocations: 16 kB / 1.507 GB, free: 11.63 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/1.195, allocations: 452.4 kB / 1.507 GB, free: 11.17 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/1.195, allocations: 3.938 kB / 1.507 GB, free: 11.16 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/1.195, allocations: 8 kB / 1.507 GB, free: 11.16 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/1.195, allocations: 4 kB / 1.507 GB, free: 11.15 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/1.197, allocations: 0.601 MB / 1.508 GB, free: 10.55 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/1.198, allocations: 0.8745 MB / 1.509 GB, free: 9.59 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009023/1.199, allocations: 242.9 kB / 1.509 GB, free: 9.348 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/1.199, allocations: 72.77 kB / 1.509 GB, free: 9.273 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09622/1.295, allocations: 36.52 MB / 1.545 GB, free: 1.438 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/1.295, allocations: 38.56 kB / 1.545 GB, free: 1.391 MB / 1.217 GB Notification: Performance of pre-optimization done (n=25): time 1.603e-06/1.295, allocations: 0 / 1.545 GB, free: 1.391 MB / 1.217 GB Notification: Performance of matching and sorting (n=25): time 0.002017/1.297, allocations: 418 kB / 1.545 GB, free: 0.9766 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/1.297, allocations: 55.41 kB / 1.545 GB, free: 0.9102 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/1.298, allocations: 143.9 kB / 1.545 GB, free: 0.7617 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.818e-05/1.298, allocations: 33.7 kB / 1.545 GB, free: 0.7227 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 8.978e-05/1.298, allocations: 116.5 kB / 1.545 GB, free: 0.6016 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 9.067e-05/1.298, allocations: 91.17 kB / 1.545 GB, free: 0.5117 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/1.298, allocations: 73.66 kB / 1.546 GB, free: 444 kB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001641/1.298, allocations: 326.8 kB / 1.546 GB, free: 108 kB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/1.298, allocations: 79.95 kB / 1.546 GB, free: 28 kB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/1.299, allocations: 126.3 kB / 1.546 GB, free: 15.89 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005134/1.299, allocations: 227.1 kB / 1.546 GB, free: 15.65 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.299, allocations: 0 / 1.546 GB, free: 15.65 MB / 1.232 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008395/1.3, allocations: 302.6 kB / 1.547 GB, free: 15.35 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/1.3, allocations: 8 kB / 1.547 GB, free: 15.34 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/1.3, allocations: 0 / 1.547 GB, free: 15.34 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/1.3, allocations: 4 kB / 1.547 GB, free: 15.34 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003119/1.3, allocations: 79.88 kB / 1.547 GB, free: 15.26 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/1.3, allocations: 7.938 kB / 1.547 GB, free: 15.25 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/1.3, allocations: 15.89 kB / 1.547 GB, free: 15.23 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.742e-05/1.301, allocations: 23.98 kB / 1.547 GB, free: 15.21 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.000254/1.301, allocations: 133.9 kB / 1.547 GB, free: 15.07 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/1.301, allocations: 19.91 kB / 1.547 GB, free: 15.05 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002875/1.304, allocations: 2.33 MB / 1.549 GB, free: 12.7 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/1.304, allocations: 19.97 kB / 1.549 GB, free: 12.68 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/1.304, allocations: 7.875 kB / 1.549 GB, free: 12.67 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/1.304, allocations: 3.984 kB / 1.549 GB, free: 12.67 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003936/1.308, allocations: 3.427 MB / 1.552 GB, free: 9.133 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/1.308, allocations: 4 kB / 1.553 GB, free: 9.129 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002896/1.308, allocations: 63.89 kB / 1.553 GB, free: 9.066 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/1.308, allocations: 3.938 kB / 1.553 GB, free: 9.062 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-05/1.308, allocations: 11.98 kB / 1.553 GB, free: 9.051 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/1.308, allocations: 3.938 kB / 1.553 GB, free: 9.047 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.308, allocations: 0 / 1.553 GB, free: 9.047 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/1.309, allocations: 0.5428 MB / 1.553 GB, free: 8.488 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/1.309, allocations: 144.6 kB / 1.553 GB, free: 8.328 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/1.309, allocations: 8 kB / 1.553 GB, free: 8.32 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/1.31, allocations: 15.98 kB / 1.553 GB, free: 8.305 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/1.31, allocations: 15.98 kB / 1.553 GB, free: 8.289 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/1.31, allocations: 15.98 kB / 1.553 GB, free: 8.273 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0001023/1.31, allocations: 109.9 kB / 1.553 GB, free: 8.168 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/1.31, allocations: 4 kB / 1.553 GB, free: 8.164 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.005868/1.316, allocations: 1.711 MB / 1.555 GB, free: 6.449 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.009898/1.326, allocations: 2.957 MB / 1.558 GB, free: 3.461 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00072/1.326, allocations: 311.9 kB / 1.558 GB, free: 3.156 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.326, allocations: 0 / 1.558 GB, free: 3.156 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003097/1.327, allocations: 193.4 kB / 1.558 GB, free: 2.969 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005689/1.327, allocations: 68.19 kB / 1.559 GB, free: 2.902 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00666/1.334, allocations: 3.082 MB / 1.562 GB, free: 15.71 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/1.334, allocations: 0.7661 MB / 1.562 GB, free: 14.92 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0005954/1.335, allocations: 405.2 kB / 1.563 GB, free: 14.52 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/1.335, allocations: 103.4 kB / 1.563 GB, free: 14.41 MB / 1.248 GB Notification: Performance of SimCode: time 9.62e-07/1.335, allocations: 0 / 1.563 GB, free: 14.41 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1251/1.46, allocations: 63.32 MB / 1.625 GB, free: 15.12 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/13.5, allocations: 17.64 kB / 1.625 GB, free: 15.11 MB / 1.311 GB " [Timeout remaining time 286] (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.931935133994557]