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.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.001611/0.001611, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002113/0.002113, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.6/1.6, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.506/3.506, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.002159/0.002159, allocations: 66.64 kB / 1.177 GB, free: 16.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4451/0.4473, allocations: 180.2 MB / 1.353 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.216/0.6633, allocations: 139.4 MB / 1.489 GB, free: 12.5 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.03563/0.6989, allocations: 22.88 MB / 1.511 GB, free: 5.547 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.6991, allocations: 0 / 1.511 GB, free: 5.547 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0004218/0.6996, allocations: 47.69 kB / 1.511 GB, free: 5.5 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0005553/0.7001, allocations: 95.34 kB / 1.511 GB, free: 5.406 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.02446/0.7246, allocations: 7.002 MB / 1.518 GB, free: 14.42 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0004873/0.7251, allocations: 251.9 kB / 1.519 GB, free: 14.18 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 5.986e-05/0.7251, allocations: 13.73 kB / 1.519 GB, free: 14.16 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003887/0.7255, allocations: 147.4 kB / 1.519 GB, free: 14.02 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.7257, allocations: 95.66 kB / 1.519 GB, free: 13.93 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.7257, allocations: 12 kB / 1.519 GB, free: 13.91 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0278/0.7535, allocations: 11.69 MB / 1.53 GB, free: 2.207 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.7537, allocations: 39.83 kB / 1.53 GB, free: 2.168 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.7539, allocations: 83.64 kB / 1.53 GB, free: 2.086 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01812/0.772, allocations: 6.509 MB / 1.537 GB, free: 11.56 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.772, allocations: 0 / 1.537 GB, free: 11.56 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.504e-06/0.772, allocations: 0 / 1.537 GB, free: 11.56 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.772, allocations: 0 / 1.537 GB, free: 11.56 MB / 1.232 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.005161/0.7772, allocations: 1.167 MB / 1.538 GB, free: 10.36 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.7772, allocations: 16.03 kB / 1.538 GB, free: 10.34 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.248e-05/0.7773, allocations: 50.73 kB / 1.538 GB, free: 10.29 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.7786, allocations: 84.75 kB / 1.538 GB, free: 10.2 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003985/0.779, allocations: 170.2 kB / 1.538 GB, free: 10.01 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.779, allocations: 23.94 kB / 1.538 GB, free: 9.988 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.021e-05/0.7791, allocations: 12 kB / 1.538 GB, free: 9.977 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.7804, allocations: 488.1 kB / 1.539 GB, free: 9.48 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.7804, allocations: 3.938 kB / 1.539 GB, free: 9.477 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.7805, allocations: 8 kB / 1.539 GB, free: 9.469 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.7805, allocations: 4 kB / 1.539 GB, free: 9.465 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.7818, allocations: 0.6205 MB / 1.539 GB, free: 8.844 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.7831, allocations: 0.8502 MB / 1.54 GB, free: 7.914 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008813/0.784, allocations: 236.4 kB / 1.54 GB, free: 7.676 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.7841, allocations: 64.83 kB / 1.54 GB, free: 7.609 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08683/0.8709, allocations: 23.29 MB / 1.563 GB, free: 280 kB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.8709, allocations: 38.56 kB / 1.563 GB, free: 232 kB / 1.248 GB Notification: Performance of pre-optimization done (n=25): time 1.723e-06/0.8709, allocations: 0 / 1.563 GB, free: 232 kB / 1.248 GB Notification: Performance of matching and sorting (n=25): time 0.001853/0.8728, allocations: 425.4 kB / 1.564 GB, free: 15.8 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.8728, allocations: 55.41 kB / 1.564 GB, free: 15.74 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.873, allocations: 139.8 kB / 1.564 GB, free: 15.59 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/0.873, allocations: 33.64 kB / 1.564 GB, free: 15.55 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 9.083e-05/0.8731, allocations: 112.4 kB / 1.564 GB, free: 15.44 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 8.887e-05/0.8732, allocations: 95.2 kB / 1.564 GB, free: 15.35 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.8734, allocations: 77.66 kB / 1.564 GB, free: 15.27 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.8735, allocations: 322.8 kB / 1.564 GB, free: 14.94 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.8737, allocations: 83.95 kB / 1.564 GB, free: 14.86 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.8739, allocations: 125.1 kB / 1.565 GB, free: 14.72 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004508/0.8744, allocations: 217.9 kB / 1.565 GB, free: 14.49 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.8744, allocations: 4 kB / 1.565 GB, free: 14.48 MB / 1.264 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007751/0.8752, allocations: 301.2 kB / 1.565 GB, free: 14.18 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.8752, allocations: 4 kB / 1.565 GB, free: 14.18 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.8752, allocations: 4 kB / 1.565 GB, free: 14.18 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/0.8752, allocations: 3.938 kB / 1.565 GB, free: 14.17 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.8755, allocations: 79.88 kB / 1.565 GB, free: 14.09 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.8756, allocations: 12.14 kB / 1.565 GB, free: 14.08 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.8757, allocations: 23.78 kB / 1.565 GB, free: 14.06 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.513e-05/0.8758, allocations: 27.98 kB / 1.565 GB, free: 14.03 MB / 1.264 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.0001569/0.8759, allocations: 129.7 kB / 1.565 GB, free: 13.89 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.8761, allocations: 15.91 kB / 1.565 GB, free: 13.88 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002812/0.8789, allocations: 2.48 MB / 1.568 GB, free: 11.39 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/0.8789, allocations: 19.97 kB / 1.568 GB, free: 11.37 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.8789, allocations: 0 / 1.568 GB, free: 11.37 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.8789, allocations: 11.92 kB / 1.568 GB, free: 11.36 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004546/0.8835, allocations: 3.602 MB / 1.571 GB, free: 7.645 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.8835, allocations: 0 / 1.571 GB, free: 7.645 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003008/0.8838, allocations: 59.89 kB / 1.571 GB, free: 7.586 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/0.8838, allocations: 3.938 kB / 1.571 GB, free: 7.582 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.8838, allocations: 8 kB / 1.571 GB, free: 7.574 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.8838, allocations: 0 / 1.571 GB, free: 7.574 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.8838, allocations: 0 / 1.571 GB, free: 7.574 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008876/0.8847, allocations: 0.5584 MB / 1.572 GB, free: 7 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.8849, allocations: 75.5 kB / 1.572 GB, free: 6.926 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/0.8849, allocations: 7.938 kB / 1.572 GB, free: 6.918 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.8852, allocations: 12 kB / 1.572 GB, free: 6.906 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.8852, allocations: 27.89 kB / 1.572 GB, free: 6.879 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.8852, allocations: 15.94 kB / 1.572 GB, free: 6.863 MB / 1.264 GB Notification: Performance of sorting global known variables: time 9.149e-05/0.8853, allocations: 103.3 kB / 1.572 GB, free: 6.762 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.8853, allocations: 0 / 1.572 GB, free: 6.762 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.004527/0.8899, allocations: 1.715 MB / 1.574 GB, free: 5.043 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.01032/0.9002, allocations: 2.957 MB / 1.577 GB, free: 2.055 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0007915/0.901, allocations: 317.1 kB / 1.577 GB, free: 1.746 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.901, allocations: 0 / 1.577 GB, free: 1.746 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0003461/0.9013, allocations: 197.4 kB / 1.577 GB, free: 1.555 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006131/0.9019, allocations: 66.06 kB / 1.577 GB, free: 1.492 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007559/0.9095, allocations: 3.098 MB / 1.58 GB, free: 14.28 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.9099, allocations: 0.766 MB / 1.581 GB, free: 13.49 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0006436/0.9106, allocations: 401.2 kB / 1.581 GB, free: 13.09 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.9108, allocations: 99.39 kB / 1.582 GB, free: 13 MB / 1.279 GB Notification: Performance of SimCode: time 1.112e-06/0.9108, allocations: 0 / 1.582 GB, free: 13 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9126/1.823, allocations: 63.79 MB / 1.644 GB, free: 227.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.56/17.38, allocations: 5.156 kB / 1.644 GB, free: 227.3 MB / 1.295 GB " [Timeout remaining time 282] (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/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: 24.984731483040377]