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.001364/0.001364, 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.002169/0.002169, allocations: 216.4 kB / 23.04 MB, free: 5.074 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.386/3.386, allocations: 0.49 GB / 0.7959 GB, free: 33.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_12_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.002001/0.002001, allocations: 64.69 kB / 1.155 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4041, allocations: 176.1 MB / 1.327 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1764/0.5805, allocations: 139.4 MB / 1.463 GB, free: 6.059 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03107/0.6116, allocations: 22.88 MB / 1.485 GB, free: 15.11 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000225/0.6118, allocations: 4 kB / 1.485 GB, free: 15.1 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.6121, allocations: 47.67 kB / 1.485 GB, free: 15.05 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.000351/0.6125, allocations: 103.3 kB / 1.485 GB, free: 14.95 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0208/0.6333, allocations: 6.979 MB / 1.492 GB, free: 7.984 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0005428/0.6338, allocations: 251.9 kB / 1.492 GB, free: 7.738 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 6.075e-05/0.6339, allocations: 13.73 kB / 1.492 GB, free: 7.723 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004252/0.6343, allocations: 151.4 kB / 1.492 GB, free: 7.574 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.6345, allocations: 91.66 kB / 1.493 GB, free: 7.484 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.6345, allocations: 11.94 kB / 1.493 GB, free: 7.473 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02402/0.6585, allocations: 11.7 MB / 1.504 GB, free: 11.77 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.6587, allocations: 39.89 kB / 1.504 GB, free: 11.73 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.6588, allocations: 79.59 kB / 1.504 GB, free: 11.65 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01479/0.6736, allocations: 6.505 MB / 1.51 GB, free: 5.129 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.6736, allocations: 4 kB / 1.51 GB, free: 5.125 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6736, allocations: 0 / 1.51 GB, free: 5.125 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.6736, allocations: 0 / 1.51 GB, free: 5.125 MB / 1.201 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.003691/0.6773, allocations: 1.167 MB / 1.512 GB, free: 3.922 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.6773, allocations: 12.03 kB / 1.512 GB, free: 3.91 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.63e-05/0.6774, allocations: 4.188 kB / 1.512 GB, free: 3.906 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.744e-05/0.6774, allocations: 58.61 kB / 1.512 GB, free: 3.84 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.6785, allocations: 84.77 kB / 1.512 GB, free: 3.758 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.6788, allocations: 182 kB / 1.512 GB, free: 3.555 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.6788, allocations: 12 kB / 1.512 GB, free: 3.543 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.6789, allocations: 12 kB / 1.512 GB, free: 3.531 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.6801, allocations: 476.8 kB / 1.512 GB, free: 3.047 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.6801, allocations: 7.984 kB / 1.512 GB, free: 3.039 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.6802, allocations: 4 kB / 1.512 GB, free: 3.035 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.6802, allocations: 8 kB / 1.512 GB, free: 3.027 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.6815, allocations: 0.6166 MB / 1.513 GB, free: 2.41 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.6827, allocations: 0.8503 MB / 1.514 GB, free: 1.48 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009096/0.6836, allocations: 243.7 kB / 1.514 GB, free: 1.234 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.6837, allocations: 72.77 kB / 1.514 GB, free: 1.16 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09044/0.7742, allocations: 23.29 MB / 1.537 GB, free: 9.828 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.7742, allocations: 38.55 kB / 1.537 GB, free: 9.781 MB / 1.232 GB Notification: Performance of pre-optimization done (n=25): time 1.763e-06/0.7742, allocations: 3.938 kB / 1.537 GB, free: 9.777 MB / 1.232 GB Notification: Performance of matching and sorting (n=25): time 0.001849/0.776, allocations: 417.4 kB / 1.537 GB, free: 9.363 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.7761, allocations: 59.34 kB / 1.537 GB, free: 9.293 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.7762, allocations: 137.8 kB / 1.538 GB, free: 9.148 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.7763, allocations: 37.7 kB / 1.538 GB, free: 9.105 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 8.402e-05/0.7764, allocations: 112.4 kB / 1.538 GB, free: 8.992 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 9.135e-05/0.7765, allocations: 91.2 kB / 1.538 GB, free: 8.902 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.7766, allocations: 77.67 kB / 1.538 GB, free: 8.82 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.7768, allocations: 322.8 kB / 1.538 GB, free: 8.496 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.7769, allocations: 79.94 kB / 1.538 GB, free: 8.418 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.7772, allocations: 133.1 kB / 1.538 GB, free: 8.27 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000459/0.7776, allocations: 217 kB / 1.539 GB, free: 8.043 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.7776, allocations: 0 / 1.539 GB, free: 8.043 MB / 1.232 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007945/0.7784, allocations: 305.3 kB / 1.539 GB, free: 7.738 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.7785, allocations: 5.562 kB / 1.539 GB, free: 7.734 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.7785, allocations: 4 kB / 1.539 GB, free: 7.73 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.7785, allocations: 0 / 1.539 GB, free: 7.73 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/0.7788, allocations: 87.88 kB / 1.539 GB, free: 7.645 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.7788, allocations: 7.875 kB / 1.539 GB, free: 7.637 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.779, allocations: 19.89 kB / 1.539 GB, free: 7.617 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.716e-05/0.779, allocations: 23.97 kB / 1.539 GB, free: 7.594 MB / 1.232 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.0001777/0.7792, allocations: 126.5 kB / 1.539 GB, free: 7.461 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.7794, allocations: 15.91 kB / 1.539 GB, free: 7.445 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002826/0.7822, allocations: 2.495 MB / 1.542 GB, free: 4.938 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.7822, allocations: 11.98 kB / 1.542 GB, free: 4.926 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.485e-06/0.7822, allocations: 3.938 kB / 1.542 GB, free: 4.922 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.7822, allocations: 0 / 1.542 GB, free: 4.922 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004225/0.7865, allocations: 3.606 MB / 1.545 GB, free: 1.207 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.7865, allocations: 4 kB / 1.545 GB, free: 1.203 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/0.7868, allocations: 55.94 kB / 1.545 GB, free: 1.148 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.7868, allocations: 3.938 kB / 1.545 GB, free: 1.145 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-05/0.7868, allocations: 8 kB / 1.545 GB, free: 1.137 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.7868, allocations: 3.938 kB / 1.545 GB, free: 1.133 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.7868, allocations: 7.938 kB / 1.545 GB, free: 1.125 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009145/0.7877, allocations: 0.5545 MB / 1.546 GB, free: 0.5547 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.7879, allocations: 67.52 kB / 1.546 GB, free: 500 kB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.606e-05/0.7879, allocations: 8 kB / 1.546 GB, free: 492 kB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.7881, allocations: 15.98 kB / 1.546 GB, free: 476 kB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.7882, allocations: 15.97 kB / 1.546 GB, free: 460 kB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-05/0.7882, allocations: 15.98 kB / 1.546 GB, free: 444 kB / 1.232 GB Notification: Performance of sorting global known variables: time 9.402e-05/0.7883, allocations: 103.3 kB / 1.546 GB, free: 340 kB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7883, allocations: 0 / 1.546 GB, free: 340 kB / 1.232 GB Notification: Performance of remove unused functions: time 0.005924/0.7942, allocations: 1.711 MB / 1.548 GB, free: 14.61 MB / 1.248 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.01308/0.8073, allocations: 2.966 MB / 1.551 GB, free: 11.62 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0009551/0.8083, allocations: 319 kB / 1.551 GB, free: 11.31 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.8083, allocations: 3.938 kB / 1.551 GB, free: 11.3 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0003373/0.8086, allocations: 192.5 kB / 1.551 GB, free: 11.12 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006067/0.8092, allocations: 72.23 kB / 1.551 GB, free: 11.05 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006805/0.816, allocations: 3.094 MB / 1.554 GB, free: 7.84 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.8164, allocations: 0.7621 MB / 1.555 GB, free: 7.051 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0006315/0.8171, allocations: 409.2 kB / 1.555 GB, free: 6.648 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/0.8173, allocations: 103.4 kB / 1.555 GB, free: 6.547 MB / 1.248 GB Notification: Performance of SimCode: time 1.292e-06/0.8173, allocations: 0 / 1.555 GB, free: 6.547 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8219/1.639, allocations: 63.83 MB / 1.618 GB, free: 236.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.1/17.74, allocations: 6.969 kB / 1.618 GB, free: 236.9 MB / 1.295 GB " [Timeout remaining time 282] (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/jenkins1/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: 25.18388316303026]