Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001568/0.001568, allocations: 105.7 kB / 16.45 MB, free: 6.035 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.001526/0.001526, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.452/1.452, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.613/2.613, allocations: 443.5 MB / 0.7287 GB, free: 13.2 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_10_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 63.91 kB / 1.056 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7856/0.7875, allocations: 160.7 MB / 1.213 GB, free: 3.887 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1711/0.9587, allocations: 136.5 MB / 1.346 GB, free: 15.19 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0311/0.9898, allocations: 22.76 MB / 1.368 GB, free: 8.352 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.9899, allocations: 0 / 1.368 GB, free: 8.352 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003164/0.9903, allocations: 47.67 kB / 1.368 GB, free: 8.305 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003638/0.9906, allocations: 95.41 kB / 1.369 GB, free: 8.211 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.01919/1.01, allocations: 6.956 MB / 1.375 GB, free: 1.266 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000463/1.01, allocations: 247.9 kB / 1.376 GB, free: 1.02 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.824e-05/1.01, allocations: 9.562 kB / 1.376 GB, free: 1.012 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003457/1.011, allocations: 143.4 kB / 1.376 GB, free: 0.8711 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/1.011, allocations: 99.59 kB / 1.376 GB, free: 0.7734 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/1.011, allocations: 8 kB / 1.376 GB, free: 0.7656 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02384/1.035, allocations: 11.67 MB / 1.387 GB, free: 5.086 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001411/1.035, allocations: 35.89 kB / 1.387 GB, free: 5.051 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001833/1.035, allocations: 83.64 kB / 1.387 GB, free: 4.969 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01779/1.053, allocations: 6.49 MB / 1.394 GB, free: 14.46 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.053, allocations: 0 / 1.394 GB, free: 14.46 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.683e-06/1.053, allocations: 0 / 1.394 GB, free: 14.46 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.476e-06/1.053, allocations: 0 / 1.394 GB, free: 14.46 MB / 1.107 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.003581/1.056, allocations: 1.244 MB / 1.395 GB, free: 13.17 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/1.056, allocations: 12.03 kB / 1.395 GB, free: 13.16 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.585e-05/1.057, allocations: 50.73 kB / 1.395 GB, free: 13.1 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/1.058, allocations: 88.75 kB / 1.395 GB, free: 13.01 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/1.058, allocations: 224.1 kB / 1.395 GB, free: 12.75 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/1.058, allocations: 11.94 kB / 1.395 GB, free: 12.74 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/1.058, allocations: 23.88 kB / 1.395 GB, free: 12.72 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/1.059, allocations: 454.1 kB / 1.396 GB, free: 12.26 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/1.059, allocations: 0 / 1.396 GB, free: 12.26 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/1.059, allocations: 12 kB / 1.396 GB, free: 12.25 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/1.059, allocations: 7.938 kB / 1.396 GB, free: 12.24 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/1.061, allocations: 0.597 MB / 1.396 GB, free: 11.64 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/1.062, allocations: 0.8822 MB / 1.397 GB, free: 10.67 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008677/1.063, allocations: 234.3 kB / 1.397 GB, free: 10.43 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/1.063, allocations: 72.77 kB / 1.398 GB, free: 10.36 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0941/1.157, allocations: 35.41 MB / 1.432 GB, free: 3.852 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/1.157, allocations: 38.56 kB / 1.432 GB, free: 3.805 MB / 1.139 GB Notification: Performance of pre-optimization done (n=25): time 1.834e-06/1.157, allocations: 0 / 1.432 GB, free: 3.805 MB / 1.139 GB Notification: Performance of matching and sorting (n=25): time 0.001972/1.159, allocations: 419.8 kB / 1.433 GB, free: 3.391 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/1.159, allocations: 55.34 kB / 1.433 GB, free: 3.324 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/1.159, allocations: 152.7 kB / 1.433 GB, free: 3.168 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/1.159, allocations: 29.7 kB / 1.433 GB, free: 3.133 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 8.631e-05/1.159, allocations: 116.5 kB / 1.433 GB, free: 3.012 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 8.128e-05/1.159, allocations: 91.22 kB / 1.433 GB, free: 2.922 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/1.159, allocations: 77.66 kB / 1.433 GB, free: 2.84 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.16, allocations: 326.8 kB / 1.433 GB, free: 2.512 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/1.16, allocations: 79.95 kB / 1.433 GB, free: 2.434 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/1.16, allocations: 129.6 kB / 1.434 GB, free: 2.289 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004629/1.16, allocations: 219.6 kB / 1.434 GB, free: 2.059 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.16, allocations: 0 / 1.434 GB, free: 2.059 MB / 1.139 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007906/1.161, allocations: 303.7 kB / 1.434 GB, free: 1.758 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/1.161, allocations: 8.156 kB / 1.434 GB, free: 1.75 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/1.161, allocations: 0 / 1.434 GB, free: 1.75 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/1.161, allocations: 4 kB / 1.434 GB, free: 1.746 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003099/1.162, allocations: 79.88 kB / 1.434 GB, free: 1.668 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/1.162, allocations: 4 kB / 1.434 GB, free: 1.664 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/1.162, allocations: 31.75 kB / 1.434 GB, free: 1.633 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.305e-05/1.162, allocations: 27.98 kB / 1.434 GB, free: 1.605 MB / 1.139 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.000133/1.162, allocations: 125.8 kB / 1.434 GB, free: 1.473 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/1.162, allocations: 15.91 kB / 1.434 GB, free: 1.457 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0028/1.165, allocations: 2.35 MB / 1.437 GB, free: 15.1 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/1.165, allocations: 11.98 kB / 1.437 GB, free: 15.09 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.165, allocations: 0 / 1.437 GB, free: 15.09 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/1.165, allocations: 7.922 kB / 1.437 GB, free: 15.08 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003689/1.169, allocations: 3.423 MB / 1.44 GB, free: 11.54 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/1.169, allocations: 4 kB / 1.44 GB, free: 11.54 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/1.169, allocations: 55.95 kB / 1.44 GB, free: 11.48 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/1.169, allocations: 7.938 kB / 1.44 GB, free: 11.48 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/1.169, allocations: 8 kB / 1.44 GB, free: 11.47 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/1.169, allocations: 4 kB / 1.44 GB, free: 11.46 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.169, allocations: 3.984 kB / 1.44 GB, free: 11.46 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009286/1.17, allocations: 0.5435 MB / 1.441 GB, free: 10.9 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/1.17, allocations: 140.7 kB / 1.441 GB, free: 10.74 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/1.17, allocations: 11.94 kB / 1.441 GB, free: 10.73 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/1.17, allocations: 15.92 kB / 1.441 GB, free: 10.71 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/1.17, allocations: 23.98 kB / 1.441 GB, free: 10.69 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/1.17, allocations: 15.98 kB / 1.441 GB, free: 10.68 MB / 1.154 GB Notification: Performance of sorting global known variables: time 8.798e-05/1.171, allocations: 103.3 kB / 1.441 GB, free: 10.57 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.171, allocations: 0 / 1.441 GB, free: 10.57 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.004586/1.175, allocations: 1.707 MB / 1.443 GB, free: 8.863 MB / 1.154 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.009773/1.185, allocations: 2.939 MB / 1.445 GB, free: 5.895 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0007007/1.186, allocations: 321.2 kB / 1.446 GB, free: 5.582 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.186, allocations: 0 / 1.446 GB, free: 5.582 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002979/1.186, allocations: 189.5 kB / 1.446 GB, free: 5.398 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005585/1.186, allocations: 59.94 kB / 1.446 GB, free: 5.34 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006514/1.193, allocations: 3.093 MB / 1.449 GB, free: 2.133 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/1.193, allocations: 0.7699 MB / 1.45 GB, free: 1.336 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007086/1.194, allocations: 409.1 kB / 1.45 GB, free: 0.9336 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/1.194, allocations: 99.31 kB / 1.45 GB, free: 0.8398 MB / 1.154 GB Notification: Performance of SimCode: time 7.22e-07/1.194, allocations: 0 / 1.45 GB, free: 0.8398 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1224/1.317, allocations: 63.18 MB / 1.512 GB, free: 1.672 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/13.85, allocations: 2.344 kB / 1.512 GB, free: 1.672 MB / 1.217 GB " [Timeout remaining time 286] (rm -f Buildings_10_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.SteamProperties_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_SteamProperties.fmu > Buildings_10_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.883689227048308]