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.0008435/0.0008435, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000947/0.000947, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8781/0.8781, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.702/1.702, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.261e-05, allocations: 2.281 kB / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.5437/0.5437, allocations: 119.6 MB / 1.098 GB, free: 31.67 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01879/0.5625, allocations: 20.23 MB / 1.118 GB, free: 19.16 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.5627, allocations: 5.406 kB / 1.118 GB, free: 19.15 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.5629, allocations: 45.73 kB / 1.118 GB, free: 19.13 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.5632, allocations: 102 kB / 1.118 GB, free: 19.06 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.01591/0.5791, allocations: 7.008 MB / 1.125 GB, free: 16.38 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0003757/0.5795, allocations: 265.6 kB / 1.125 GB, free: 16.26 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.862e-05/0.5795, allocations: 14.98 kB / 1.125 GB, free: 16.25 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003175/0.5799, allocations: 182.8 kB / 1.125 GB, free: 16.18 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.58, allocations: 78.78 kB / 1.125 GB, free: 16.16 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.58, allocations: 11.06 kB / 1.125 GB, free: 16.16 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01909/0.5991, allocations: 11.13 MB / 1.136 GB, free: 13.64 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.5992, allocations: 33.31 kB / 1.136 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.5994, allocations: 67.09 kB / 1.136 GB, free: 13.6 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01996/0.6193, allocations: 8.359 MB / 1.144 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.6194, allocations: 0 / 1.144 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6194, allocations: 0.8125 kB / 1.144 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.6194, allocations: 4 kB / 1.144 GB, free: 11.12 MB / 0.9948 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.004796/0.6242, allocations: 1.166 MB / 1.145 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.6242, allocations: 9.156 kB / 1.145 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.514e-05/0.6242, allocations: 50.95 kB / 1.145 GB, free: 10.3 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006078/0.6248, allocations: 84.12 kB / 1.145 GB, free: 10.29 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.6251, allocations: 168.5 kB / 1.146 GB, free: 10.14 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.6251, allocations: 19.06 kB / 1.146 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.6251, allocations: 15.44 kB / 1.146 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007261/0.6259, allocations: 0.6693 MB / 1.146 GB, free: 9.676 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.6259, allocations: 4 kB / 1.146 GB, free: 9.672 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.6259, allocations: 6.344 kB / 1.146 GB, free: 9.668 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.6259, allocations: 5.781 kB / 1.146 GB, free: 9.668 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006752/0.6266, allocations: 0.6067 MB / 1.147 GB, free: 9.52 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006717/0.6272, allocations: 0.7354 MB / 1.148 GB, free: 8.918 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004464/0.6277, allocations: 228.7 kB / 1.148 GB, free: 8.844 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.495e-05/0.6278, allocations: 69.58 kB / 1.148 GB, free: 8.812 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04231/0.6701, allocations: 23.36 MB / 1.171 GB, free: 448 kB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.6701, allocations: 36.91 kB / 1.171 GB, free: 404 kB / 0.9948 GB Notification: Performance of pre-optimization done (n=25): time 1.943e-06/0.6701, allocations: 0 / 1.171 GB, free: 404 kB / 0.9948 GB Notification: Performance of matching and sorting (n=25): time 0.0009448/0.671, allocations: 416.9 kB / 1.171 GB, free: 180 kB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.6711, allocations: 63.72 kB / 1.171 GB, free: 108 kB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.6712, allocations: 144.5 kB / 1.171 GB, free: 15.98 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.6712, allocations: 32.02 kB / 1.171 GB, free: 15.95 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.6713, allocations: 106.3 kB / 1.172 GB, free: 15.84 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/0.6713, allocations: 93.33 kB / 1.172 GB, free: 15.76 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-05/0.6714, allocations: 79.41 kB / 1.172 GB, free: 15.71 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.076e-05/0.6715, allocations: 327.8 kB / 1.172 GB, free: 15.38 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.6716, allocations: 78.77 kB / 1.172 GB, free: 15.35 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.6717, allocations: 130.5 kB / 1.172 GB, free: 15.25 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.672, allocations: 219.2 kB / 1.172 GB, free: 15.12 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.672, allocations: 2.312 kB / 1.172 GB, free: 15.12 MB / 1.01 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004576/0.6725, allocations: 297.8 kB / 1.173 GB, free: 14.96 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.6725, allocations: 5.469 kB / 1.173 GB, free: 14.96 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.6725, allocations: 2.781 kB / 1.173 GB, free: 14.96 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.6725, allocations: 2.906 kB / 1.173 GB, free: 14.96 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.6727, allocations: 86.75 kB / 1.173 GB, free: 14.93 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.6727, allocations: 6.234 kB / 1.173 GB, free: 14.92 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.952e-05/0.6727, allocations: 24.59 kB / 1.173 GB, free: 14.91 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.6728, allocations: 21.08 kB / 1.173 GB, free: 14.9 MB / 1.01 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 9.279e-05/0.6729, allocations: 139.4 kB / 1.173 GB, free: 14.76 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-05/0.673, allocations: 18.47 kB / 1.173 GB, free: 14.75 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/0.6745, allocations: 2.493 MB / 1.175 GB, free: 13.42 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.6745, allocations: 8.953 kB / 1.175 GB, free: 13.42 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6745, allocations: 0 / 1.175 GB, free: 13.42 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.6745, allocations: 7.984 kB / 1.175 GB, free: 13.41 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.6765, allocations: 3.588 MB / 1.179 GB, free: 11.27 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.6765, allocations: 3.125 kB / 1.179 GB, free: 11.27 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.6767, allocations: 50.98 kB / 1.179 GB, free: 11.25 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.6767, allocations: 2.188 kB / 1.179 GB, free: 11.25 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.6767, allocations: 6.75 kB / 1.179 GB, free: 11.25 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.6767, allocations: 0 / 1.179 GB, free: 11.25 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.6767, allocations: 6.656 kB / 1.179 GB, free: 11.25 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004737/0.6772, allocations: 0.5577 MB / 1.18 GB, free: 10.89 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.435e-05/0.6772, allocations: 64.91 kB / 1.18 GB, free: 10.84 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.6773, allocations: 10.59 kB / 1.18 GB, free: 10.84 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.6774, allocations: 11.53 kB / 1.18 GB, free: 10.83 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.6774, allocations: 21.53 kB / 1.18 GB, free: 10.82 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.6774, allocations: 15.8 kB / 1.18 GB, free: 10.81 MB / 1.01 GB Notification: Performance of sorting global known variables: time 4.75e-05/0.6774, allocations: 106.2 kB / 1.18 GB, free: 10.72 MB / 1.01 GB Notification: Performance of sort global known variables: time 4e-08/0.6774, allocations: 2.375 kB / 1.18 GB, free: 10.72 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005053/0.6825, allocations: 1.711 MB / 1.181 GB, free: 10.38 MB / 1.01 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.009454/0.692, allocations: 3.207 MB / 1.185 GB, free: 8.793 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004797/0.6924, allocations: 321.9 kB / 1.185 GB, free: 8.652 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6924, allocations: 2.875 kB / 1.185 GB, free: 8.652 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.6926, allocations: 198.1 kB / 1.185 GB, free: 8.562 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.693, allocations: 63.05 kB / 1.185 GB, free: 8.527 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004675/0.6977, allocations: 3.079 MB / 1.188 GB, free: 5.648 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.684e-05/0.6978, allocations: 156.7 kB / 1.188 GB, free: 5.477 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003543/0.6981, allocations: 413.1 kB / 1.189 GB, free: 5.074 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.6983, allocations: 100.4 kB / 1.189 GB, free: 4.973 MB / 1.01 GB Notification: Performance of SimCode: time 8.82e-07/0.6983, allocations: 0 / 1.189 GB, free: 4.973 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08165/0.7799, allocations: 64.55 MB / 1.252 GB, free: 4.566 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.88/9.66, allocations: 12.91 kB / 1.252 GB, free: 4.559 MB / 1.073 GB " [Timeout remaining time 290] (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/jenkins/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: 13.695816482417285]