Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002051/0.002051, allocations: 199.9 kB / 22.17 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.553/2.553, allocations: 443.5 MB / 0.732 GB, free: 12.51 MB / 0.5919 GB " [Timeout remaining time 177] 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.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.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_10_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.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 71.83 kB / 1.061 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7717/0.7739, allocations: 160.7 MB / 1.218 GB, free: 4.047 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2216/0.9954, allocations: 195.1 MB / 1.409 GB, free: 3.762 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01129/1.007, allocations: 6.975 MB / 1.416 GB, free: 12.77 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002255/1.009, allocations: 43.75 kB / 1.416 GB, free: 12.73 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002253/1.011, allocations: 0.7064 MB / 1.416 GB, free: 12.02 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0071/1.018, allocations: 2.451 MB / 1.419 GB, free: 9.555 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003555/1.022, allocations: 1.447 MB / 1.42 GB, free: 8.125 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004597/1.027, allocations: 3.009 MB / 1.423 GB, free: 5.105 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/1.028, allocations: 0.7083 MB / 1.424 GB, free: 4.387 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003002/1.031, allocations: 1.158 MB / 1.425 GB, free: 3.23 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/1.032, allocations: 0.8536 MB / 1.426 GB, free: 2.379 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001709/1.033, allocations: 100 kB / 1.426 GB, free: 2.281 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004296/1.037, allocations: 2.163 MB / 1.428 GB, free: 116 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004655/1.037, allocations: 370.8 kB / 1.428 GB, free: 15.75 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0007345/1.038, allocations: 0.5908 MB / 1.429 GB, free: 15.15 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004081/1.042, allocations: 2.398 MB / 1.431 GB, free: 12.75 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.042, allocations: 4 kB / 1.431 GB, free: 12.75 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.562e-06/1.042, allocations: 7.938 kB / 1.431 GB, free: 12.74 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.724e-05/1.042, allocations: 0 / 1.431 GB, free: 12.74 MB / 1.139 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.003777/1.046, allocations: 1.671 MB / 1.433 GB, free: 11.01 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/1.046, allocations: 8.625 kB / 1.433 GB, free: 11 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003147/1.049, allocations: 0.5416 MB / 1.433 GB, free: 10.46 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002534/1.052, allocations: 1.038 MB / 1.434 GB, free: 9.375 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-05/1.052, allocations: 61.31 kB / 1.434 GB, free: 9.312 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/1.052, allocations: 67.98 kB / 1.435 GB, free: 9.246 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002581/1.055, allocations: 1.109 MB / 1.436 GB, free: 8.109 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/1.055, allocations: 3.938 kB / 1.436 GB, free: 8.105 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.612e-05/1.055, allocations: 28 kB / 1.436 GB, free: 8.078 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.457e-05/1.055, allocations: 29.31 kB / 1.436 GB, free: 8.051 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003209/1.058, allocations: 1.168 MB / 1.437 GB, free: 6.883 MB / 1.139 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.006621/1.065, allocations: 3.16 MB / 1.44 GB, free: 3.645 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/1.066, allocations: 0.6568 MB / 1.441 GB, free: 2.98 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008508/1.067, allocations: 400.5 kB / 1.441 GB, free: 2.59 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/1.068, allocations: 1.029 MB / 1.442 GB, free: 1.336 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/1.069, allocations: 0.5065 MB / 1.442 GB, free: 0.8047 MB / 1.139 GB Notification: Performance of pre-optimization done (n=57): time 2.785e-06/1.069, allocations: 0 / 1.442 GB, free: 0.8047 MB / 1.139 GB Notification: Performance of matching and sorting (n=57): time 0.003361/1.073, allocations: 1.233 MB / 1.444 GB, free: 15.56 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/1.073, allocations: 144.8 kB / 1.444 GB, free: 15.39 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002186/1.075, allocations: 1.176 MB / 1.445 GB, free: 14.2 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001266/1.075, allocations: 37.7 kB / 1.445 GB, free: 14.16 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004308/1.076, allocations: 437.9 kB / 1.445 GB, free: 13.72 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/1.076, allocations: 206.2 kB / 1.446 GB, free: 13.52 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002999/1.076, allocations: 146.1 kB / 1.446 GB, free: 13.37 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001808/1.076, allocations: 330 kB / 1.446 GB, free: 13.04 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/1.078, allocations: 440.9 kB / 1.446 GB, free: 12.61 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/1.079, allocations: 0.6015 MB / 1.447 GB, free: 11.96 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/1.081, allocations: 0.9262 MB / 1.448 GB, free: 10.98 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/1.081, allocations: 0 / 1.448 GB, free: 10.98 MB / 1.154 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003446/1.085, allocations: 1.194 MB / 1.449 GB, free: 9.766 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.177e-05/1.085, allocations: 45.69 kB / 1.449 GB, free: 9.715 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/1.085, allocations: 0 / 1.449 GB, free: 9.715 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/1.085, allocations: 8 kB / 1.449 GB, free: 9.707 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000999/1.086, allocations: 187.8 kB / 1.449 GB, free: 9.523 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/1.086, allocations: 11.88 kB / 1.449 GB, free: 9.512 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/1.088, allocations: 243.1 kB / 1.45 GB, free: 9.273 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.993e-05/1.088, allocations: 35.98 kB / 1.45 GB, free: 9.238 MB / 1.154 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.000554/1.088, allocations: 338.8 kB / 1.45 GB, free: 8.895 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/1.088, allocations: 119.2 kB / 1.45 GB, free: 8.777 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/1.091, allocations: 0.996 MB / 1.451 GB, free: 7.773 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/1.091, allocations: 12.03 kB / 1.451 GB, free: 7.762 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/1.091, allocations: 3.938 kB / 1.451 GB, free: 7.758 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/1.091, allocations: 3.984 kB / 1.451 GB, free: 7.754 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005356/1.096, allocations: 3.162 MB / 1.454 GB, free: 4.434 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/1.096, allocations: 12.03 kB / 1.454 GB, free: 4.422 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006239/1.097, allocations: 115.8 kB / 1.454 GB, free: 4.309 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/1.097, allocations: 15.94 kB / 1.454 GB, free: 4.293 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.927e-05/1.097, allocations: 27.98 kB / 1.454 GB, free: 4.266 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.25e-05/1.097, allocations: 11.98 kB / 1.454 GB, free: 4.254 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.074e-05/1.097, allocations: 15.94 kB / 1.454 GB, free: 4.238 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002517/1.099, allocations: 1.353 MB / 1.456 GB, free: 2.77 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006386/1.1, allocations: 336 kB / 1.456 GB, free: 2.422 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/1.1, allocations: 27.94 kB / 1.456 GB, free: 2.395 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/1.101, allocations: 95.89 kB / 1.456 GB, free: 2.301 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/1.101, allocations: 63.7 kB / 1.456 GB, free: 2.238 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-05/1.102, allocations: 43.97 kB / 1.456 GB, free: 2.195 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001607/1.103, allocations: 0.8482 MB / 1.457 GB, free: 1.34 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.2e-07/1.103, allocations: 0 / 1.457 GB, free: 1.34 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001117/1.104, allocations: 299.6 kB / 1.457 GB, free: 1.047 MB / 1.154 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.0007749/1.105, allocations: 347.4 kB / 1.458 GB, free: 0.7109 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002601/1.108, allocations: 0.9626 MB / 1.459 GB, free: 15.74 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/1.108, allocations: 4 kB / 1.459 GB, free: 15.73 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009949/1.109, allocations: 484.8 kB / 1.459 GB, free: 15.25 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002978/1.112, allocations: 0.5564 MB / 1.46 GB, free: 14.7 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003949/1.116, allocations: 2.061 MB / 1.462 GB, free: 12.51 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007711/1.116, allocations: 1.069 MB / 1.463 GB, free: 11.41 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001011/1.117, allocations: 283.7 kB / 1.463 GB, free: 11.14 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/1.118, allocations: 87.41 kB / 1.463 GB, free: 11.05 MB / 1.17 GB Notification: Performance of SimCode: time 7.62e-07/1.118, allocations: 0 / 1.463 GB, free: 11.05 MB / 1.17 GB Notification: Performance of Templates: time 0.04084/1.158, allocations: 22.49 MB / 1.485 GB, free: 4.738 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.339828957337886]