Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.SteamProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_10_Buildings.Media.Examples.SteamProperties") translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_10_Buildings.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 114.4 kB / 16.4 MB, free: 6.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 194.6 kB / 17.33 MB, free: 5.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.474/2.474, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 59.91 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.842/0.8435, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1526/0.9961, allocations: 136.1 MB / 1.3 GB, free: 11.22 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02589/1.022, allocations: 22.68 MB / 1.322 GB, free: 4.465 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/1.022, allocations: 4 kB / 1.322 GB, free: 4.461 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003193/1.023, allocations: 51.67 kB / 1.322 GB, free: 4.41 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003315/1.023, allocations: 95.36 kB / 1.322 GB, free: 4.316 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.01791/1.041, allocations: 6.964 MB / 1.329 GB, free: 13.37 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004211/1.041, allocations: 243.9 kB / 1.33 GB, free: 13.13 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.528e-05/1.041, allocations: 17.53 kB / 1.33 GB, free: 13.11 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003264/1.042, allocations: 147.4 kB / 1.33 GB, free: 12.97 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/1.042, allocations: 91.67 kB / 1.33 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/1.042, allocations: 8 kB / 1.33 GB, free: 12.87 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02212/1.064, allocations: 11.65 MB / 1.341 GB, free: 1.207 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/1.064, allocations: 31.91 kB / 1.341 GB, free: 1.176 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001528/1.064, allocations: 79.64 kB / 1.341 GB, free: 1.098 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01583/1.08, allocations: 6.49 MB / 1.348 GB, free: 10.59 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/1.08, allocations: 0 / 1.348 GB, free: 10.59 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.527e-06/1.08, allocations: 0 / 1.348 GB, free: 10.59 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.284e-06/1.08, allocations: 3.938 kB / 1.348 GB, free: 10.59 MB / 1.076 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.003476/1.084, allocations: 1.242 MB / 1.349 GB, free: 9.293 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/1.084, allocations: 12.03 kB / 1.349 GB, free: 9.281 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/1.085, allocations: 84.75 kB / 1.349 GB, free: 9.199 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/1.085, allocations: 224.1 kB / 1.349 GB, free: 8.941 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/1.085, allocations: 20.06 kB / 1.349 GB, free: 8.922 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/1.085, allocations: 16 kB / 1.349 GB, free: 8.906 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/1.086, allocations: 454.1 kB / 1.35 GB, free: 8.445 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/1.087, allocations: 0 / 1.35 GB, free: 8.445 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/1.087, allocations: 8 kB / 1.35 GB, free: 8.438 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/1.087, allocations: 7.938 kB / 1.35 GB, free: 8.43 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/1.088, allocations: 0.597 MB / 1.35 GB, free: 7.832 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/1.089, allocations: 0.89 MB / 1.351 GB, free: 6.855 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008003/1.09, allocations: 256.5 kB / 1.351 GB, free: 6.598 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/1.09, allocations: 72.83 kB / 1.351 GB, free: 6.523 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08902/1.179, allocations: 35.41 MB / 1.386 GB, free: 16 kB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.448e-05/1.179, allocations: 42.56 kB / 1.386 GB, free: 15.96 MB / 1.123 GB Notification: Performance of pre-optimization done (n=25): time 2.043e-06/1.179, allocations: 0 / 1.386 GB, free: 15.96 MB / 1.123 GB Notification: Performance of matching and sorting (n=25): time 0.001763/1.181, allocations: 418.5 kB / 1.386 GB, free: 15.55 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/1.181, allocations: 55.41 kB / 1.386 GB, free: 15.48 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/1.181, allocations: 144.1 kB / 1.387 GB, free: 15.34 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/1.181, allocations: 29.7 kB / 1.387 GB, free: 15.3 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/1.181, allocations: 112.5 kB / 1.387 GB, free: 15.18 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 7.059e-05/1.181, allocations: 91.16 kB / 1.387 GB, free: 15.09 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/1.181, allocations: 85.66 kB / 1.387 GB, free: 15 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.181, allocations: 326.8 kB / 1.387 GB, free: 14.68 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/1.181, allocations: 75.95 kB / 1.387 GB, free: 14.6 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/1.182, allocations: 133.1 kB / 1.387 GB, free: 14.45 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004464/1.182, allocations: 227.8 kB / 1.388 GB, free: 14.21 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.182, allocations: 0 / 1.388 GB, free: 14.21 MB / 1.123 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007794/1.183, allocations: 295.5 kB / 1.388 GB, free: 13.92 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/1.183, allocations: 4 kB / 1.388 GB, free: 13.92 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.183, allocations: 12.09 kB / 1.388 GB, free: 13.91 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/1.183, allocations: 3.984 kB / 1.388 GB, free: 13.9 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/1.183, allocations: 79.95 kB / 1.388 GB, free: 13.82 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/1.183, allocations: 7.922 kB / 1.388 GB, free: 13.82 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/1.183, allocations: 27.78 kB / 1.388 GB, free: 13.79 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.103e-05/1.184, allocations: 19.98 kB / 1.388 GB, free: 13.77 MB / 1.123 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.0001456/1.184, allocations: 129.8 kB / 1.388 GB, free: 13.63 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/1.184, allocations: 15.91 kB / 1.388 GB, free: 13.62 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/1.186, allocations: 2.342 MB / 1.39 GB, free: 11.27 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/1.186, allocations: 7.984 kB / 1.39 GB, free: 11.26 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/1.186, allocations: 4 kB / 1.39 GB, free: 11.26 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/1.186, allocations: 7.922 kB / 1.39 GB, free: 11.25 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0032/1.189, allocations: 3.435 MB / 1.394 GB, free: 7.699 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/1.189, allocations: 0 / 1.394 GB, free: 7.699 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/1.19, allocations: 51.89 kB / 1.394 GB, free: 7.648 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/1.19, allocations: 7.984 kB / 1.394 GB, free: 7.641 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/1.19, allocations: 11.94 kB / 1.394 GB, free: 7.629 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/1.19, allocations: 7.984 kB / 1.394 GB, free: 7.621 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.19, allocations: 0 / 1.394 GB, free: 7.621 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007665/1.191, allocations: 0.5428 MB / 1.394 GB, free: 7.059 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/1.191, allocations: 144.7 kB / 1.395 GB, free: 6.898 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/1.191, allocations: 7.938 kB / 1.395 GB, free: 6.891 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/1.191, allocations: 15.98 kB / 1.395 GB, free: 6.875 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/1.191, allocations: 11.98 kB / 1.395 GB, free: 6.863 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/1.191, allocations: 19.98 kB / 1.395 GB, free: 6.844 MB / 1.123 GB Notification: Performance of sorting global known variables: time 7.9e-05/1.191, allocations: 103.3 kB / 1.395 GB, free: 6.742 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.4e-07/1.191, allocations: 3.938 kB / 1.395 GB, free: 6.738 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.004153/1.195, allocations: 1.707 MB / 1.396 GB, free: 5.027 MB / 1.123 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.008151/1.203, allocations: 1.949 MB / 1.398 GB, free: 3.066 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0007311/1.204, allocations: 320.3 kB / 1.399 GB, free: 2.75 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.204, allocations: 0 / 1.399 GB, free: 2.75 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003463/1.205, allocations: 244.5 kB / 1.399 GB, free: 2.512 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006169/1.205, allocations: 70.69 kB / 1.399 GB, free: 2.445 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/1.206, allocations: 0.6668 MB / 1.4 GB, free: 1.75 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/1.207, allocations: 0.7699 MB / 1.4 GB, free: 0.9531 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/1.207, allocations: 51.41 kB / 1.4 GB, free: 0.9023 MB / 1.123 GB Notification: Performance of SimCode: time 4.41e-07/1.207, allocations: 0 / 1.4 GB, free: 0.9023 MB / 1.123 GB Notification: Performance of Templates: time 0.0483/1.255, allocations: 32.7 MB / 1.432 GB, free: 168 kB / 1.154 GB make -j1 -f Buildings_10_Buildings.Media.Examples.SteamProperties.makefile (rm -f Buildings_10_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_10_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches