Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001005/0.001005, allocations: 85.27 kB / 19.87 MB, free: 4.617 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.001151/0.001151, allocations: 165 kB / 23.27 MB, free: 1.219 MB / 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.9057/0.9057, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.314/2.314, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 3.938 kB / 0.8898 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.234e-05/1.43e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1367/0.1367, allocations: 150.7 MB / 1.037 GB, free: 2.453 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005855/0.1426, allocations: 4.75 MB / 1.042 GB, free: 13.7 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005116/0.1431, allocations: 63.44 kB / 1.042 GB, free: 13.63 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0006663/0.1437, allocations: 420.9 kB / 1.042 GB, free: 13.22 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001441/0.1452, allocations: 1.232 MB / 1.043 GB, free: 11.98 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.1467, allocations: 1.494 MB / 1.045 GB, free: 10.49 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001899/0.1486, allocations: 2.868 MB / 1.047 GB, free: 7.609 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005969/0.1492, allocations: 0.6874 MB / 1.048 GB, free: 6.906 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001534/0.1507, allocations: 1.493 MB / 1.05 GB, free: 5.465 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005239/0.1513, allocations: 0.6737 MB / 1.05 GB, free: 4.789 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 9.7e-05/0.1514, allocations: 96 kB / 1.05 GB, free: 4.695 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007164/0.1521, allocations: 0.7211 MB / 1.051 GB, free: 3.973 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.1523, allocations: 382.7 kB / 1.051 GB, free: 3.598 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002513/0.1526, allocations: 387 kB / 1.052 GB, free: 3.219 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.1536, allocations: 1.371 MB / 1.053 GB, free: 1.844 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1536, allocations: 0 / 1.053 GB, free: 1.844 MB / 1.01 GB Notification: Performance of FrontEnd: time 8.92e-07/0.1536, allocations: 0 / 1.053 GB, free: 1.844 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.1536, allocations: 0 / 1.053 GB, free: 1.844 MB / 1.01 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.001632/0.1553, allocations: 1.574 MB / 1.055 GB, free: 228 kB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.1553, allocations: 16.62 kB / 1.055 GB, free: 212 kB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4469/0.6021, allocations: 0.4907 MB / 1.055 GB, free: 57.53 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.6032, allocations: 0.8662 MB / 1.056 GB, free: 57.36 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.6032, allocations: 56.61 kB / 1.056 GB, free: 57.36 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.587e-05/0.6033, allocations: 69.06 kB / 1.056 GB, free: 57.36 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009034/0.6042, allocations: 0.8043 MB / 1.057 GB, free: 57.04 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.6042, allocations: 0 / 1.057 GB, free: 57.04 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.726e-05/0.6042, allocations: 30.61 kB / 1.057 GB, free: 57.04 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.028e-05/0.6043, allocations: 36.5 kB / 1.057 GB, free: 57.04 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004169/0.6047, allocations: 339.2 kB / 1.057 GB, free: 57 MB / 1.01 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.002393/0.6071, allocations: 2.606 MB / 1.06 GB, free: 55.88 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00045/0.6075, allocations: 320.7 kB / 1.06 GB, free: 55.82 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.6077, allocations: 154.7 kB / 1.06 GB, free: 55.77 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/0.6078, allocations: 48.45 kB / 1.06 GB, free: 55.77 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002969/0.6081, allocations: 437.1 kB / 1.061 GB, free: 55.48 MB / 1.01 GB Notification: Performance of pre-optimization done (n=57): time 2.715e-06/0.6081, allocations: 0.75 kB / 1.061 GB, free: 55.48 MB / 1.01 GB Notification: Performance of matching and sorting (n=57): time 0.0008282/0.6089, allocations: 0.5878 MB / 1.061 GB, free: 55.3 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.609, allocations: 141.1 kB / 1.061 GB, free: 55.14 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005564/0.6095, allocations: 0.7603 MB / 1.062 GB, free: 54.95 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/0.6096, allocations: 40.02 kB / 1.062 GB, free: 54.92 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.6098, allocations: 0.4921 MB / 1.063 GB, free: 54.71 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 9.294e-05/0.6099, allocations: 206 kB / 1.063 GB, free: 54.61 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.61, allocations: 153.1 kB / 1.063 GB, free: 54.58 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.951e-05/0.6101, allocations: 0.5059 MB / 1.064 GB, free: 54.09 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.6102, allocations: 104.2 kB / 1.064 GB, free: 54.06 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.6105, allocations: 0.5856 MB / 1.064 GB, free: 53.49 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/0.6108, allocations: 405.3 kB / 1.065 GB, free: 53.25 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.6108, allocations: 3 kB / 1.065 GB, free: 53.25 MB / 1.01 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006112/0.6114, allocations: 0.5389 MB / 1.065 GB, free: 53.1 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.144e-05/0.6115, allocations: 38.59 kB / 1.065 GB, free: 53.07 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.6115, allocations: 6.938 kB / 1.065 GB, free: 53.07 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.6115, allocations: 5.781 kB / 1.065 GB, free: 53.07 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.6119, allocations: 155.5 kB / 1.065 GB, free: 53.07 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.6119, allocations: 10.25 kB / 1.065 GB, free: 53.07 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/0.6123, allocations: 143.5 kB / 1.066 GB, free: 53.05 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.073e-05/0.6124, allocations: 37.36 kB / 1.066 GB, free: 53.05 MB / 1.01 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.0002115/0.6126, allocations: 228.9 kB / 1.066 GB, free: 52.86 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.6127, allocations: 120.3 kB / 1.066 GB, free: 52.81 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005679/0.6133, allocations: 0.5265 MB / 1.066 GB, free: 52.69 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.016e-06/0.6133, allocations: 12.81 kB / 1.066 GB, free: 52.69 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.6133, allocations: 1 kB / 1.066 GB, free: 52.69 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.6133, allocations: 2.656 kB / 1.066 GB, free: 52.69 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.6149, allocations: 1.889 MB / 1.068 GB, free: 51.74 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.6149, allocations: 12.56 kB / 1.068 GB, free: 51.74 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.6151, allocations: 102.6 kB / 1.068 GB, free: 51.74 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.6151, allocations: 17.06 kB / 1.068 GB, free: 51.73 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.6152, allocations: 27.92 kB / 1.068 GB, free: 51.73 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/0.6152, allocations: 11.75 kB / 1.068 GB, free: 51.73 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/0.6152, allocations: 16.25 kB / 1.068 GB, free: 51.73 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006535/0.6158, allocations: 1.046 MB / 1.069 GB, free: 50.95 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002257/0.6161, allocations: 220.5 kB / 1.07 GB, free: 50.89 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.506e-05/0.6161, allocations: 24.78 kB / 1.07 GB, free: 50.89 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003677/0.6165, allocations: 65.84 kB / 1.07 GB, free: 50.89 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.33e-05/0.6166, allocations: 60.23 kB / 1.07 GB, free: 50.89 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-05/0.6166, allocations: 35.31 kB / 1.07 GB, free: 50.89 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002435/0.6169, allocations: 449.9 kB / 1.07 GB, free: 50.75 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.6169, allocations: 2.297 kB / 1.07 GB, free: 50.75 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000608/0.6175, allocations: 301.3 kB / 1.071 GB, free: 50.73 MB / 1.01 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.0002868/0.6178, allocations: 219.9 kB / 1.071 GB, free: 50.64 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004651/0.6182, allocations: 460.4 kB / 1.071 GB, free: 50.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6182, allocations: 4.125 kB / 1.071 GB, free: 50.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.6184, allocations: 287 kB / 1.071 GB, free: 50.39 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000988/0.6194, allocations: 367 kB / 1.072 GB, free: 50.38 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.6212, allocations: 1.795 MB / 1.074 GB, free: 49.31 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.6214, allocations: 216 kB / 1.074 GB, free: 49.23 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004119/0.6218, allocations: 147.2 kB / 1.074 GB, free: 49.23 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005853/0.6224, allocations: 396 kB / 1.074 GB, free: 49.16 MB / 1.01 GB Notification: Performance of SimCode: time 6.31e-07/0.6224, allocations: 0 / 1.074 GB, free: 49.16 MB / 1.01 GB Notification: Performance of Templates: time 0.01957/0.6419, allocations: 17.2 MB / 1.091 GB, free: 47.58 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.074024197179824]