Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.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.001395/0.001395, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001468/0.001468, allocations: 210.9 kB / 23 MB, free: 4.93 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.168/3.168, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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: translateModel(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|steTra.port_a.p|steTra.port_b.p|steTra.sta_a.T|steTra.sta_b.T|hIn.h_out|hOut.h_out|steTra.m_flow|steTra.QLos_flow",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap") translateModel(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|steTra.port_a.p|steTra.port_b.p|steTra.sta_a.T|steTra.sta_b.T|hIn.h_out|hOut.h_out|steTra.m_flow|steTra.QLos_flow",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap") [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.002017/0.002017, allocations: 75.98 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3205, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap): time 0.04367/0.3641, allocations: 34.58 MB / 1.361 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1694/0.5336, allocations: 131.1 MB / 1.489 GB, free: 10.69 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001983/0.5356, allocations: 67.44 kB / 1.489 GB, free: 10.62 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.004613/0.5402, allocations: 1.636 MB / 1.491 GB, free: 8.984 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005922/0.5461, allocations: 2.178 MB / 1.493 GB, free: 6.797 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003818/0.5499, allocations: 1.598 MB / 1.494 GB, free: 5.207 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.008931/0.5588, allocations: 6.128 MB / 1.5 GB, free: 15.07 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001683/0.5605, allocations: 0.9194 MB / 1.501 GB, free: 14.12 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004197/0.5647, allocations: 2.019 MB / 1.503 GB, free: 12.09 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001647/0.5664, allocations: 1.027 MB / 1.504 GB, free: 11.06 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002268/0.5666, allocations: 112 kB / 1.504 GB, free: 10.95 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00226/0.5689, allocations: 1.029 MB / 1.505 GB, free: 9.922 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005519/0.5694, allocations: 0.506 MB / 1.506 GB, free: 9.414 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008321/0.5702, allocations: 0.6491 MB / 1.506 GB, free: 8.762 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004083/0.5743, allocations: 2.643 MB / 1.509 GB, free: 6.109 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5743, allocations: 0 / 1.509 GB, free: 6.109 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5743, allocations: 0 / 1.509 GB, free: 6.109 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.515e-05/0.5744, allocations: 0 / 1.509 GB, free: 6.109 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: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.003846/0.5782, allocations: 2.016 MB / 1.511 GB, free: 4.047 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.5783, allocations: 12.03 kB / 1.511 GB, free: 4.035 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001975/0.5802, allocations: 358.5 kB / 1.511 GB, free: 3.684 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004017/0.5843, allocations: 2.024 MB / 1.513 GB, free: 1.613 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.487e-05/0.5843, allocations: 58 kB / 1.513 GB, free: 1.559 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.5845, allocations: 83.98 kB / 1.513 GB, free: 1.477 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.5865, allocations: 0.9467 MB / 1.514 GB, free: 480 kB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/0.5865, allocations: 7.984 kB / 1.514 GB, free: 472 kB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.053e-05/0.5866, allocations: 28 kB / 1.514 GB, free: 444 kB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.742e-05/0.5866, allocations: 20 kB / 1.514 GB, free: 424 kB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.5883, allocations: 0.6518 MB / 1.515 GB, free: 15.76 MB / 1.217 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005818/0.5942, allocations: 3.053 MB / 1.518 GB, free: 12.61 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.5957, allocations: 458.7 kB / 1.518 GB, free: 12.15 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006018/0.5963, allocations: 230.5 kB / 1.519 GB, free: 11.93 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002699/0.599, allocations: 0.9649 MB / 1.52 GB, free: 10.94 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.599, allocations: 38.89 kB / 1.52 GB, free: 10.89 MB / 1.217 GB Notification: Performance of pre-optimization done (n=40): time 2.204e-06/0.599, allocations: 4 kB / 1.52 GB, free: 10.89 MB / 1.217 GB Notification: Performance of matching and sorting (n=40): time 0.002122/0.6011, allocations: 0.7371 MB / 1.52 GB, free: 10.14 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.6012, allocations: 55.41 kB / 1.52 GB, free: 10.08 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002125/0.6033, allocations: 1.492 MB / 1.522 GB, free: 8.574 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.27e-05/0.6034, allocations: 33.7 kB / 1.522 GB, free: 8.535 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006225/0.604, allocations: 0.681 MB / 1.523 GB, free: 7.848 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.6041, allocations: 150.7 kB / 1.523 GB, free: 7.699 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003903/0.6045, allocations: 254.4 kB / 1.523 GB, free: 7.441 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.6047, allocations: 353.9 kB / 1.523 GB, free: 7.09 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008797/0.6056, allocations: 421 kB / 1.524 GB, free: 6.68 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.6068, allocations: 0.8404 MB / 1.524 GB, free: 5.691 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/0.6087, allocations: 1.023 MB / 1.525 GB, free: 4.566 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.6087, allocations: 4 kB / 1.525 GB, free: 4.562 MB / 1.217 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002582/0.6113, allocations: 1.282 MB / 1.527 GB, free: 3.273 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.6113, allocations: 8 kB / 1.527 GB, free: 3.266 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.6114, allocations: 8 kB / 1.527 GB, free: 3.258 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.819e-05/0.6114, allocations: 12.41 kB / 1.527 GB, free: 3.246 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008511/0.6122, allocations: 211.7 kB / 1.527 GB, free: 3.039 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-05/0.6123, allocations: 19.92 kB / 1.527 GB, free: 3.02 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009592/0.6132, allocations: 123.2 kB / 1.527 GB, free: 2.898 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.366e-05/0.6133, allocations: 51.97 kB / 1.527 GB, free: 2.848 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001308/0.6146, allocations: 0.7421 MB / 1.528 GB, free: 2.105 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001164/0.6158, allocations: 0.836 MB / 1.529 GB, free: 1.121 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001883/0.6177, allocations: 1.009 MB / 1.53 GB, free: 12 kB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.025e-06/0.6177, allocations: 11.98 kB / 1.53 GB, free: 0 / 1.217 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.003038/0.6207, allocations: 1.257 MB / 1.531 GB, free: 14.73 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.6207, allocations: 8 kB / 1.531 GB, free: 14.73 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.6208, allocations: 11.94 kB / 1.531 GB, free: 14.71 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.6208, allocations: 12 kB / 1.531 GB, free: 14.7 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.6219, allocations: 208 kB / 1.531 GB, free: 14.5 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.583e-05/0.6219, allocations: 15.94 kB / 1.531 GB, free: 14.48 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.6234, allocations: 107.5 kB / 1.531 GB, free: 14.38 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.6235, allocations: 43.98 kB / 1.531 GB, free: 14.34 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (111): * Single equations (assignments): 109 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0003444/0.6238, allocations: 224 kB / 1.532 GB, free: 14.11 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003294/0.6241, allocations: 147 kB / 1.532 GB, free: 13.96 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002734/0.6269, allocations: 0.7359 MB / 1.532 GB, free: 13.22 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001894/0.6288, allocations: 0.7509 MB / 1.533 GB, free: 12.4 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.6288, allocations: 0 / 1.533 GB, free: 12.4 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008151/0.6296, allocations: 210.8 kB / 1.533 GB, free: 12.19 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002409/0.6298, allocations: 19.98 kB / 1.533 GB, free: 12.17 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008886/0.6307, allocations: 31.97 kB / 1.533 GB, free: 12.14 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.6308, allocations: 32.38 kB / 1.533 GB, free: 12.11 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002761/0.6336, allocations: 0.7024 MB / 1.534 GB, free: 11.4 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00332/0.6369, allocations: 1.103 MB / 1.535 GB, free: 10.28 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000814/0.6377, allocations: 239.4 kB / 1.535 GB, free: 10.04 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002193/0.6399, allocations: 0.991 MB / 1.536 GB, free: 9.055 MB / 1.232 GB Notification: Performance of Backend: time 1.092e-06/0.6399, allocations: 0 / 1.536 GB, free: 9.055 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.005263/0.6452, allocations: 1.609 MB / 1.538 GB, free: 7.445 MB / 1.232 GB Notification: Performance of SimCode: time 0.006693/0.6519, allocations: 3.497 MB / 1.541 GB, free: 3.91 MB / 1.232 GB Notification: Performance of Templates: time 0.05968/0.7116, allocations: 36.06 MB / 1.577 GB, free: 448 kB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.sim & ./Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_Steam_BaseClasses_Examples_SteamTrap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.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: 9.85763247399882]