Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.00143/0.00143, allocations: 71.75 kB / 20.97 MB, free: 3.566 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.001623/0.001623, allocations: 169 kB / 24.27 MB, free: 272 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 0.9841/0.9841, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.824/1.824, allocations: 359 MB / 0.6055 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modWatRev.conEqn.sta_a.T|modWatRev.conEqn.sta_b.T|modWatNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_b.T|modAirNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_a.X.[0-9,]+.|modAirRev.conEqn.sta_b.X.[0-9,]+.|modAirNoRev.conEqn.sta_b.X.[0-9,]+.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modWatRev.conEqn.sta_a.T|modWatRev.conEqn.sta_b.T|modWatNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_b.T|modAirNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_a.X.[0-9,]+.|modAirRev.conEqn.sta_b.X.[0-9,]+.|modAirNoRev.conEqn.sta_b.X.[0-9,]+.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.981e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1744/0.1744, allocations: 191.2 MB / 0.9738 GB, free: 12.99 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00886/0.1833, allocations: 7.069 MB / 0.9807 GB, free: 5.906 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.1845, allocations: 63.44 kB / 0.9808 GB, free: 5.844 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001525/0.1861, allocations: 0.7061 MB / 0.9815 GB, free: 5.133 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.004373/0.1904, allocations: 2.48 MB / 0.9839 GB, free: 2.641 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002446/0.1929, allocations: 1.506 MB / 0.9854 GB, free: 1.137 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.003066/0.1959, allocations: 3.005 MB / 0.9883 GB, free: 14.12 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000907/0.1968, allocations: 0.7443 MB / 0.989 GB, free: 13.36 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001935/0.1988, allocations: 1.512 MB / 0.9905 GB, free: 11.86 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008519/0.1996, allocations: 0.7528 MB / 0.9912 GB, free: 11.12 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.1998, allocations: 100 kB / 0.9913 GB, free: 11.03 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002528/0.2023, allocations: 1.71 MB / 0.993 GB, free: 9.312 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002737/0.2026, allocations: 402.7 kB / 0.9934 GB, free: 8.918 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003775/0.2029, allocations: 399 kB / 0.9938 GB, free: 8.527 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.002279/0.2052, allocations: 1.865 MB / 0.9956 GB, free: 6.656 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2052, allocations: 0 / 0.9956 GB, free: 6.656 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2052, allocations: 0 / 0.9956 GB, free: 6.656 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.2052, allocations: 0 / 0.9956 GB, free: 6.656 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002097/0.2073, allocations: 1.69 MB / 0.9972 GB, free: 4.918 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.2074, allocations: 8.031 kB / 0.9972 GB, free: 4.91 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.2087, allocations: 0.4986 MB / 0.9977 GB, free: 4.41 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.21, allocations: 1.008 MB / 0.9987 GB, free: 3.375 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/0.2101, allocations: 49.31 kB / 0.9988 GB, free: 3.328 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.683e-05/0.2102, allocations: 75.98 kB / 0.9988 GB, free: 3.254 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.2112, allocations: 0.856 MB / 0.9997 GB, free: 2.324 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.2112, allocations: 0 / 0.9997 GB, free: 2.324 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.868e-05/0.2113, allocations: 28 kB / 0.9997 GB, free: 2.297 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.659e-05/0.2113, allocations: 29.25 kB / 0.9997 GB, free: 2.266 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006984/0.212, allocations: 425.2 kB / 1 GB, free: 1.844 MB / 0.948 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.002852/0.2149, allocations: 2.737 MB / 1.003 GB, free: 15.04 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006207/0.2155, allocations: 343.1 kB / 1.003 GB, free: 14.69 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.2157, allocations: 170.8 kB / 1.003 GB, free: 14.51 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002785/0.216, allocations: 132.4 kB / 1.003 GB, free: 14.38 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004242/0.2164, allocations: 457.3 kB / 1.004 GB, free: 13.87 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=57): time 1.653e-06/0.2164, allocations: 0 / 1.004 GB, free: 13.87 MB / 0.9636 GB Notification: Performance of matching and sorting (n=57): time 0.001033/0.2175, allocations: 0.6484 MB / 1.004 GB, free: 13.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.2175, allocations: 136.9 kB / 1.005 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007339/0.2182, allocations: 0.7923 MB / 1.005 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.71e-05/0.2183, allocations: 37.7 kB / 1.005 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.2186, allocations: 0.511 MB / 1.006 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.2187, allocations: 198.3 kB / 1.006 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.2188, allocations: 155.8 kB / 1.006 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.219, allocations: 0.5004 MB / 1.007 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.2192, allocations: 130.9 kB / 1.007 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004305/0.2196, allocations: 0.6752 MB / 1.008 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004961/0.2201, allocations: 435.8 kB / 1.008 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2201, allocations: 4 kB / 1.008 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008034/0.2209, allocations: 0.5782 MB / 1.009 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/0.221, allocations: 41.69 kB / 1.009 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.221, allocations: 4 kB / 1.009 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.221, allocations: 4.344 kB / 1.009 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.2215, allocations: 159.8 kB / 1.009 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.2215, allocations: 4 kB / 1.009 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004532/0.2219, allocations: 147.6 kB / 1.009 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.442e-05/0.222, allocations: 43.97 kB / 1.009 GB, free: 8.336 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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.0002088/0.2222, allocations: 238 kB / 1.009 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.2223, allocations: 115.4 kB / 1.009 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007483/0.2231, allocations: 0.5695 MB / 1.01 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.2231, allocations: 4 kB / 1.01 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2231, allocations: 0 / 1.01 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.2231, allocations: 7.984 kB / 1.01 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/0.2251, allocations: 2.06 MB / 1.012 GB, free: 5.137 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.2251, allocations: 8.125 kB / 1.012 GB, free: 5.129 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.2253, allocations: 115.8 kB / 1.012 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/0.2253, allocations: 12.52 kB / 1.012 GB, free: 5.004 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.2254, allocations: 19.94 kB / 1.012 GB, free: 4.984 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/0.2254, allocations: 19.92 kB / 1.012 GB, free: 4.965 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.2254, allocations: 11.94 kB / 1.012 GB, free: 4.953 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008602/0.2262, allocations: 1.088 MB / 1.013 GB, free: 3.703 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002626/0.2265, allocations: 231 kB / 1.013 GB, free: 3.477 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.101e-05/0.2266, allocations: 27.92 kB / 1.013 GB, free: 3.449 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003961/0.227, allocations: 67.94 kB / 1.013 GB, free: 3.383 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.946e-05/0.2271, allocations: 59.75 kB / 1.013 GB, free: 3.324 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-05/0.2271, allocations: 39.97 kB / 1.013 GB, free: 3.285 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0003969/0.2275, allocations: 494.9 kB / 1.014 GB, free: 2.809 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.2275, allocations: 0 / 1.014 GB, free: 2.809 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0007411/0.2282, allocations: 331.4 kB / 1.014 GB, free: 2.484 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.0004423/0.2287, allocations: 341.8 kB / 1.015 GB, free: 2.145 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000648/0.2293, allocations: 0.4943 MB / 1.015 GB, free: 1.617 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.2293, allocations: 0 / 1.015 GB, free: 1.617 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002987/0.2296, allocations: 303 kB / 1.015 GB, free: 1.301 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.2308, allocations: 415.4 kB / 1.016 GB, free: 0.9023 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.233, allocations: 1.807 MB / 1.018 GB, free: 14.92 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.2331, allocations: 224.4 kB / 1.018 GB, free: 14.68 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.00047/0.2336, allocations: 217.2 kB / 1.018 GB, free: 14.46 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.2338, allocations: 68.47 kB / 1.018 GB, free: 14.4 MB / 0.9792 GB Notification: Performance of SimCode: time 1.403e-06/0.2338, allocations: 0 / 1.018 GB, free: 14.4 MB / 0.9792 GB Notification: Performance of Templates: time 0.02027/0.254, allocations: 18.12 MB / 1.036 GB, free: 12.63 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.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: 6.227712034014985]