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.001137/0.001137, allocations: 81.95 kB / 20.68 MB, free: 3.816 MB / 18.57 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.001164/0.001164, allocations: 185 kB / 24.09 MB, free: 416 kB / 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 1.011/1.011, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.93/1.93, allocations: 377.9 MB / 0.624 GB, free: 8.426 MB / 0.5886 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamProperties") translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.812 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.273e-05/1.417e-05, allocations: 6.969 kB / 0.812 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1194/0.1194, allocations: 129.4 MB / 0.9384 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.02882/0.1482, allocations: 21.97 MB / 0.9598 GB, free: 9.621 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/0.1484, allocations: 4 kB / 0.9598 GB, free: 9.617 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000316/0.1487, allocations: 51.56 kB / 0.9599 GB, free: 9.566 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003479/0.1491, allocations: 103.3 kB / 0.96 GB, free: 9.465 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0187/0.1678, allocations: 6.993 MB / 0.9668 GB, free: 2.445 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0004322/0.1682, allocations: 259.8 kB / 0.967 GB, free: 2.191 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/0.1683, allocations: 17.78 kB / 0.9671 GB, free: 2.176 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003247/0.1686, allocations: 187.3 kB / 0.9672 GB, free: 1.992 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007326/0.1693, allocations: 83.75 kB / 0.9673 GB, free: 1.91 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.1693, allocations: 8 kB / 0.9673 GB, free: 1.902 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01505/0.1844, allocations: 11.13 MB / 0.9782 GB, free: 6.762 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.1845, allocations: 35.89 kB / 0.9782 GB, free: 6.727 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 9.144e-05/0.1846, allocations: 63.78 kB / 0.9783 GB, free: 6.664 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.01268/0.1973, allocations: 8.361 MB / 0.9865 GB, free: 14.29 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1973, allocations: 0 / 0.9865 GB, free: 14.29 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.694e-06/0.1973, allocations: 0 / 0.9865 GB, free: 14.29 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.1973, allocations: 0 / 0.9865 GB, free: 14.29 MB / 0.948 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.002784/0.2001, allocations: 1.27 MB / 0.9877 GB, free: 12.97 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.2001, allocations: 12.03 kB / 0.9877 GB, free: 12.96 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006329/0.2008, allocations: 152.2 kB / 0.9879 GB, free: 12.81 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.2009, allocations: 164.4 kB / 0.988 GB, free: 12.62 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.2009, allocations: 12.12 kB / 0.988 GB, free: 12.61 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.201, allocations: 20.38 kB / 0.988 GB, free: 12.59 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008157/0.2018, allocations: 0.6 MB / 0.9886 GB, free: 11.92 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.2018, allocations: 0 / 0.9886 GB, free: 11.92 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.2018, allocations: 8 kB / 0.9886 GB, free: 11.91 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.2018, allocations: 8 kB / 0.9886 GB, free: 11.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005597/0.2024, allocations: 428.7 kB / 0.989 GB, free: 11.48 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007503/0.2031, allocations: 0.852 MB / 0.9899 GB, free: 10.59 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/0.2036, allocations: 252.6 kB / 0.9901 GB, free: 10.33 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.279e-05/0.2036, allocations: 47.67 kB / 0.9902 GB, free: 10.28 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03652/0.2401, allocations: 19.43 MB / 1.009 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.2402, allocations: 41.39 kB / 1.009 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=25): time 1.383e-06/0.2402, allocations: 0 / 1.009 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of matching and sorting (n=25): time 0.000979/0.2411, allocations: 432.9 kB / 1.01 GB, free: 6.328 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004276/0.2416, allocations: 55.41 kB / 1.01 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.996e-05/0.2417, allocations: 181.8 kB / 1.01 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.2417, allocations: 29.7 kB / 1.01 GB, free: 6.031 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.36e-05/0.2417, allocations: 155.3 kB / 1.01 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.466e-05/0.2418, allocations: 95.19 kB / 1.01 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.656e-05/0.2419, allocations: 83.27 kB / 1.01 GB, free: 5.691 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.242, allocations: 0.4962 MB / 1.011 GB, free: 5.184 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.196e-05/0.2421, allocations: 87.78 kB / 1.011 GB, free: 5.098 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.2422, allocations: 142 kB / 1.011 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.2424, allocations: 228.3 kB / 1.011 GB, free: 4.688 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2424, allocations: 3.938 kB / 1.011 GB, free: 4.684 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000419/0.2429, allocations: 319.3 kB / 1.011 GB, free: 4.367 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.2429, allocations: 4 kB / 1.011 GB, free: 4.363 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2429, allocations: 160 / 1.011 GB, free: 4.363 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.2429, allocations: 8 kB / 1.011 GB, free: 4.355 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.243, allocations: 83.88 kB / 1.011 GB, free: 4.273 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.243, allocations: 4 kB / 1.011 GB, free: 4.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.27e-05/0.2431, allocations: 19.83 kB / 1.012 GB, free: 4.25 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.2431, allocations: 23.97 kB / 1.012 GB, free: 4.227 MB / 0.9636 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 8.81e-05/0.2432, allocations: 172.5 kB / 1.012 GB, free: 4.047 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.2433, allocations: 43.66 kB / 1.012 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009862/0.2443, allocations: 1.372 MB / 1.013 GB, free: 2.613 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.2443, allocations: 15.98 kB / 1.013 GB, free: 2.598 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.2443, allocations: 0 / 1.013 GB, free: 2.598 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2443, allocations: 0 / 1.013 GB, free: 2.598 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.2457, allocations: 1.983 MB / 1.015 GB, free: 0.5352 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2457, allocations: 0 / 1.015 GB, free: 0.5352 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.2458, allocations: 55.89 kB / 1.015 GB, free: 492 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2458, allocations: 0 / 1.015 GB, free: 492 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.2458, allocations: 8 kB / 1.015 GB, free: 484 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2458, allocations: 0 / 1.015 GB, free: 484 kB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2458, allocations: 4 kB / 1.015 GB, free: 480 kB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/0.2462, allocations: 0.4965 MB / 1.016 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 6.777e-05/0.2463, allocations: 67.58 kB / 1.016 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.2463, allocations: 0 / 1.016 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.68e-05/0.2464, allocations: 11.98 kB / 1.016 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.2464, allocations: 19.97 kB / 1.016 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.2464, allocations: 12 kB / 1.016 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 4.047e-05/0.2465, allocations: 137.2 kB / 1.016 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.2465, allocations: 0 / 1.016 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.003907/0.2504, allocations: 1.719 MB / 1.018 GB, free: 13.99 MB / 0.9792 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.004545/0.2549, allocations: 2.256 MB / 1.02 GB, free: 11.72 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003155/0.2552, allocations: 236 kB / 1.02 GB, free: 11.48 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2552, allocations: 0 / 1.02 GB, free: 11.48 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.2554, allocations: 150.4 kB / 1.02 GB, free: 11.34 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.2557, allocations: 104 kB / 1.02 GB, free: 11.23 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008392/0.2566, allocations: 0.5402 MB / 1.021 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.743e-05/0.2566, allocations: 102.8 kB / 1.021 GB, free: 10.54 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003311/0.257, allocations: 404.7 kB / 1.021 GB, free: 10.14 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.2572, allocations: 190.1 kB / 1.021 GB, free: 9.957 MB / 0.9792 GB Notification: Performance of SimCode: time 9.61e-07/0.2572, allocations: 0 / 1.021 GB, free: 9.957 MB / 0.9792 GB Notification: Performance of Templates: time 0.4358/0.693, allocations: 70.3 MB / 1.09 GB, free: 122.2 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamProperties.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamProperties.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.77873325208202]