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.0008438/0.0008438, 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.001009/0.001009, 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.8789/0.8789, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.728/1.728, allocations: 389 MB / 0.633 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296e-05/1.474e-05, allocations: 10.22 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.5533/0.5533, allocations: 119.6 MB / 1.117 GB, free: 10.03 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0176/0.5709, allocations: 20.23 MB / 1.136 GB, free: 13.52 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/0.5711, allocations: 1.156 kB / 1.136 GB, free: 13.52 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.5713, allocations: 45.81 kB / 1.136 GB, free: 13.49 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0002928/0.5716, allocations: 100.8 kB / 1.136 GB, free: 13.43 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.01755/0.5892, allocations: 7.01 MB / 1.143 GB, free: 10.74 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.000425/0.5896, allocations: 265.4 kB / 1.143 GB, free: 10.62 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 4.916e-05/0.5897, allocations: 8.125 kB / 1.144 GB, free: 10.62 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003539/0.59, allocations: 191.1 kB / 1.144 GB, free: 10.54 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.5902, allocations: 73.14 kB / 1.144 GB, free: 10.52 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.5902, allocations: 8.219 kB / 1.144 GB, free: 10.52 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02066/0.6108, allocations: 11.13 MB / 1.155 GB, free: 8.004 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.611, allocations: 37.81 kB / 1.155 GB, free: 7.984 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.6111, allocations: 67 kB / 1.155 GB, free: 7.961 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.01915/0.6303, allocations: 8.369 MB / 1.163 GB, free: 4.445 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.6303, allocations: 0 / 1.163 GB, free: 4.445 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.824e-06/0.6303, allocations: 0 / 1.163 GB, free: 4.445 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.6303, allocations: 0 / 1.163 GB, free: 4.445 MB / 1.01 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.004338/0.6346, allocations: 1.157 MB / 1.164 GB, free: 3.625 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.6347, allocations: 13.47 kB / 1.164 GB, free: 3.621 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.416e-05/0.6347, allocations: 49.39 kB / 1.164 GB, free: 3.57 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006168/0.6354, allocations: 88.66 kB / 1.164 GB, free: 3.531 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.6356, allocations: 168.4 kB / 1.164 GB, free: 3.355 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.6357, allocations: 10.81 kB / 1.164 GB, free: 3.352 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.6357, allocations: 14.91 kB / 1.164 GB, free: 3.348 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008414/0.6365, allocations: 0.6736 MB / 1.165 GB, free: 2.805 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.6365, allocations: 5.25 kB / 1.165 GB, free: 2.801 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.6365, allocations: 9.938 kB / 1.165 GB, free: 2.793 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.6366, allocations: 8.094 kB / 1.165 GB, free: 2.789 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007238/0.6373, allocations: 0.6079 MB / 1.166 GB, free: 2.5 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007738/0.6381, allocations: 0.729 MB / 1.166 GB, free: 1.836 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004923/0.6385, allocations: 237.1 kB / 1.167 GB, free: 1.703 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.796e-05/0.6386, allocations: 62.78 kB / 1.167 GB, free: 1.672 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04426/0.6829, allocations: 23.36 MB / 1.189 GB, free: 8.676 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.6829, allocations: 37.53 kB / 1.189 GB, free: 8.633 MB / 1.026 GB Notification: Performance of pre-optimization done (n=25): time 2.034e-06/0.6829, allocations: 0 / 1.189 GB, free: 8.633 MB / 1.026 GB Notification: Performance of matching and sorting (n=25): time 0.001057/0.684, allocations: 422.2 kB / 1.19 GB, free: 8.406 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.684, allocations: 53.97 kB / 1.19 GB, free: 8.344 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.6841, allocations: 138.6 kB / 1.19 GB, free: 8.223 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.6841, allocations: 39.95 kB / 1.19 GB, free: 8.18 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.6842, allocations: 109.8 kB / 1.19 GB, free: 8.074 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 4.813e-05/0.6843, allocations: 93.92 kB / 1.19 GB, free: 7.992 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.737e-05/0.6843, allocations: 75.19 kB / 1.19 GB, free: 7.941 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 8.163e-05/0.6844, allocations: 329.5 kB / 1.191 GB, free: 7.613 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.6845, allocations: 85.12 kB / 1.191 GB, free: 7.574 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.6847, allocations: 127.5 kB / 1.191 GB, free: 7.48 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.685, allocations: 217.4 kB / 1.191 GB, free: 7.348 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.685, allocations: 0 / 1.191 GB, free: 7.348 MB / 1.026 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004644/0.6854, allocations: 298 kB / 1.191 GB, free: 7.195 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.6855, allocations: 7.375 kB / 1.191 GB, free: 7.195 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.6855, allocations: 0 / 1.191 GB, free: 7.195 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.6855, allocations: 5 kB / 1.191 GB, free: 7.195 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.6856, allocations: 78.34 kB / 1.191 GB, free: 7.168 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.6857, allocations: 2.938 kB / 1.191 GB, free: 7.168 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.405e-05/0.6857, allocations: 25.16 kB / 1.191 GB, free: 7.148 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.6858, allocations: 32.03 kB / 1.192 GB, free: 7.133 MB / 1.026 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.821e-05/0.6859, allocations: 131.2 kB / 1.192 GB, free: 7 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.686, allocations: 21.66 kB / 1.192 GB, free: 6.992 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/0.6876, allocations: 2.497 MB / 1.194 GB, free: 4.492 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.6876, allocations: 11.98 kB / 1.194 GB, free: 4.48 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6876, allocations: 0 / 1.194 GB, free: 4.48 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.6876, allocations: 0 / 1.194 GB, free: 4.48 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/0.6898, allocations: 3.572 MB / 1.198 GB, free: 0.8008 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.6898, allocations: 4 kB / 1.198 GB, free: 0.7969 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.6899, allocations: 63.88 kB / 1.198 GB, free: 0.7344 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.6899, allocations: 0 / 1.198 GB, free: 0.7344 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.69, allocations: 4 kB / 1.198 GB, free: 0.7305 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.69, allocations: 4 kB / 1.198 GB, free: 0.7266 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.69, allocations: 3.938 kB / 1.198 GB, free: 0.7227 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004972/0.6905, allocations: 0.5596 MB / 1.198 GB, free: 152 kB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 9.041e-05/0.6905, allocations: 67.58 kB / 1.198 GB, free: 84 kB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.6906, allocations: 8 kB / 1.198 GB, free: 76 kB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.6907, allocations: 11.98 kB / 1.198 GB, free: 64 kB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.6907, allocations: 27.84 kB / 1.198 GB, free: 40 kB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.6907, allocations: 19.92 kB / 1.198 GB, free: 20 kB / 1.026 GB Notification: Performance of sorting global known variables: time 6.656e-05/0.6908, allocations: 103.3 kB / 1.198 GB, free: 15.91 MB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/0.6908, allocations: 0 / 1.198 GB, free: 15.91 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.005792/0.6966, allocations: 1.715 MB / 1.2 GB, free: 14.2 MB / 1.042 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.01065/0.7072, allocations: 3.207 MB / 1.203 GB, free: 10.97 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0005566/0.7078, allocations: 326.3 kB / 1.204 GB, free: 10.65 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.7078, allocations: 0 / 1.204 GB, free: 10.65 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.708, allocations: 188.5 kB / 1.204 GB, free: 10.47 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.7084, allocations: 75.17 kB / 1.204 GB, free: 10.4 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005837/0.7142, allocations: 3.069 MB / 1.207 GB, free: 7.219 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.7143, allocations: 160.7 kB / 1.207 GB, free: 7.039 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0003631/0.7147, allocations: 409.1 kB / 1.207 GB, free: 6.641 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.7148, allocations: 100.5 kB / 1.207 GB, free: 6.543 MB / 1.042 GB Notification: Performance of SimCode: time 1.102e-06/0.7148, allocations: 0 / 1.207 GB, free: 6.543 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08058/0.7954, allocations: 64.55 MB / 1.271 GB, free: 6.105 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.868/9.664, allocations: 15.12 kB / 1.271 GB, free: 6.098 MB / 1.104 GB " [Timeout remaining time 290] (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/jenkins/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: 13.732700889930129]