Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001676/0.001676, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00207/0.00207, allocations: 217.9 kB / 23.04 MB, free: 5.078 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.794/2.794, allocations: 476.7 MB / 0.7715 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Media_Examples_SteamProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_11_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.001987/0.001987, allocations: 67.14 kB / 1.118 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3679, allocations: 169.9 MB / 1.284 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1676/0.5355, allocations: 139.4 MB / 1.42 GB, free: 7.887 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02974/0.5653, allocations: 22.87 MB / 1.443 GB, free: 0.9336 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.5655, allocations: 7.875 kB / 1.443 GB, free: 0.9258 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.5658, allocations: 47.67 kB / 1.443 GB, free: 0.8789 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003545/0.5661, allocations: 95.44 kB / 1.443 GB, free: 0.7852 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.02021/0.5863, allocations: 6.973 MB / 1.45 GB, free: 9.828 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0004808/0.5868, allocations: 267.8 kB / 1.45 GB, free: 9.566 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 5.088e-05/0.5869, allocations: 9.75 kB / 1.45 GB, free: 9.559 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003425/0.5872, allocations: 143.5 kB / 1.45 GB, free: 9.418 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.5874, allocations: 95.59 kB / 1.45 GB, free: 9.324 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.5874, allocations: 8 kB / 1.45 GB, free: 9.316 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02322/0.6106, allocations: 11.7 MB / 1.461 GB, free: 13.6 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.6108, allocations: 43.81 kB / 1.462 GB, free: 13.56 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.6109, allocations: 75.67 kB / 1.462 GB, free: 13.48 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01693/0.6278, allocations: 6.505 MB / 1.468 GB, free: 6.965 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.6278, allocations: 3.938 kB / 1.468 GB, free: 6.961 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6278, allocations: 0 / 1.468 GB, free: 6.961 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.6278, allocations: 0 / 1.468 GB, free: 6.961 MB / 1.17 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.003734/0.6316, allocations: 1.174 MB / 1.469 GB, free: 5.75 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.6316, allocations: 8.031 kB / 1.469 GB, free: 5.742 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.869e-05/0.6316, allocations: 8.188 kB / 1.469 GB, free: 5.734 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.359e-05/0.6317, allocations: 50.73 kB / 1.469 GB, free: 5.676 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.6328, allocations: 88.77 kB / 1.469 GB, free: 5.59 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.6331, allocations: 174 kB / 1.469 GB, free: 5.395 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.6331, allocations: 12 kB / 1.469 GB, free: 5.383 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.6332, allocations: 16 kB / 1.469 GB, free: 5.367 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.6345, allocations: 478.1 kB / 1.47 GB, free: 4.883 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.6345, allocations: 3.938 kB / 1.47 GB, free: 4.879 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.6345, allocations: 8 kB / 1.47 GB, free: 4.871 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.6345, allocations: 4 kB / 1.47 GB, free: 4.867 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.6358, allocations: 0.6166 MB / 1.471 GB, free: 4.25 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.637, allocations: 0.858 MB / 1.471 GB, free: 3.309 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000847/0.6378, allocations: 231.7 kB / 1.472 GB, free: 3.074 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.638, allocations: 72.77 kB / 1.472 GB, free: 3 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08805/0.726, allocations: 23.31 MB / 1.494 GB, free: 11.64 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.726, allocations: 34.56 kB / 1.494 GB, free: 11.6 MB / 1.201 GB Notification: Performance of pre-optimization done (n=25): time 1.883e-06/0.726, allocations: 0 / 1.494 GB, free: 11.6 MB / 1.201 GB Notification: Performance of matching and sorting (n=25): time 0.001866/0.7279, allocations: 415.2 kB / 1.495 GB, free: 11.19 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.728, allocations: 59.41 kB / 1.495 GB, free: 11.12 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.7281, allocations: 147.7 kB / 1.495 GB, free: 10.96 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.7282, allocations: 37.64 kB / 1.495 GB, free: 10.92 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 7.813e-05/0.7282, allocations: 104.4 kB / 1.495 GB, free: 10.82 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 8.837e-05/0.7283, allocations: 91.25 kB / 1.495 GB, free: 10.73 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.7285, allocations: 85.61 kB / 1.495 GB, free: 10.64 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.7286, allocations: 322.8 kB / 1.496 GB, free: 10.31 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.7288, allocations: 79.95 kB / 1.496 GB, free: 10.23 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.7291, allocations: 130.8 kB / 1.496 GB, free: 10.09 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004877/0.7296, allocations: 224.2 kB / 1.496 GB, free: 9.855 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7296, allocations: 0 / 1.496 GB, free: 9.855 MB / 1.201 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008319/0.7304, allocations: 301.4 kB / 1.496 GB, free: 9.555 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.7304, allocations: 8 kB / 1.496 GB, free: 9.547 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.7304, allocations: 0 / 1.496 GB, free: 9.547 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.7304, allocations: 4 kB / 1.496 GB, free: 9.543 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.7308, allocations: 83.88 kB / 1.496 GB, free: 9.461 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.7308, allocations: 7.938 kB / 1.496 GB, free: 9.453 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.7309, allocations: 15.89 kB / 1.496 GB, free: 9.438 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.645e-05/0.731, allocations: 19.98 kB / 1.496 GB, free: 9.418 MB / 1.201 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.0001601/0.7311, allocations: 133.8 kB / 1.497 GB, free: 9.277 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.7313, allocations: 23.94 kB / 1.497 GB, free: 9.254 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002685/0.734, allocations: 2.487 MB / 1.499 GB, free: 6.754 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.734, allocations: 11.97 kB / 1.499 GB, free: 6.742 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.734, allocations: 3.938 kB / 1.499 GB, free: 6.738 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.734, allocations: 0 / 1.499 GB, free: 6.738 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003702/0.7377, allocations: 3.594 MB / 1.503 GB, free: 3.035 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.7378, allocations: 0 / 1.503 GB, free: 3.035 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002882/0.738, allocations: 51.89 kB / 1.503 GB, free: 2.984 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/0.7381, allocations: 11.94 kB / 1.503 GB, free: 2.973 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.7381, allocations: 7.984 kB / 1.503 GB, free: 2.965 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-06/0.7381, allocations: 4 kB / 1.503 GB, free: 2.961 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.7381, allocations: 4 kB / 1.503 GB, free: 2.957 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008367/0.7389, allocations: 0.5545 MB / 1.503 GB, free: 2.391 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.739, allocations: 71.5 kB / 1.503 GB, free: 2.32 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.7391, allocations: 8 kB / 1.503 GB, free: 2.312 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.7393, allocations: 11.98 kB / 1.503 GB, free: 2.301 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.7393, allocations: 19.97 kB / 1.503 GB, free: 2.281 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.7394, allocations: 15.94 kB / 1.503 GB, free: 2.266 MB / 1.201 GB Notification: Performance of sorting global known variables: time 9.021e-05/0.7395, allocations: 110.2 kB / 1.503 GB, free: 2.16 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.7395, allocations: 0 / 1.503 GB, free: 2.16 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.004517/0.744, allocations: 1.715 MB / 1.505 GB, free: 452 kB / 1.201 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.009734/0.7537, allocations: 2.968 MB / 1.508 GB, free: 13.44 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0008369/0.7546, allocations: 320.5 kB / 1.508 GB, free: 13.13 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.7546, allocations: 4 kB / 1.508 GB, free: 13.12 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000305/0.7549, allocations: 192.5 kB / 1.508 GB, free: 12.94 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006092/0.7555, allocations: 60.25 kB / 1.509 GB, free: 12.88 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006708/0.7622, allocations: 3.098 MB / 1.512 GB, free: 9.664 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.7626, allocations: 0.766 MB / 1.512 GB, free: 8.875 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0006541/0.7633, allocations: 401.2 kB / 1.513 GB, free: 8.48 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.7635, allocations: 107.3 kB / 1.513 GB, free: 8.375 MB / 1.217 GB Notification: Performance of SimCode: time 1.303e-06/0.7635, allocations: 0 / 1.513 GB, free: 8.375 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7605/1.524, allocations: 63.81 MB / 1.575 GB, free: 277.6 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.19/17.72, allocations: 16.95 kB / 1.575 GB, free: 277.6 MB / 1.264 GB " [Timeout remaining time 282] (rm -f Buildings_11_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.SteamProperties_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_SteamProperties.fmu > Buildings_11_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 24.836961068038363]