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.001304/0.001304, allocations: 78.8 kB / 19.76 MB, free: 1.875 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: 160.5 kB / 23.01 MB, free: 4.602 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.428/1.428, allocations: 177.2 MB / 203.4 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.708/2.708, allocations: 359.1 MB / 0.6044 GB, free: 14.95 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|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.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [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.002129/0.002129, allocations: 71.89 kB / 0.9515 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3102, allocations: 169.9 MB / 1.117 GB, free: 2.645 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.8094/1.12, allocations: 171.9 MB / 1.285 GB, free: 12.46 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01191/1.132, allocations: 6.562 MB / 1.292 GB, free: 7.973 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/1.133, allocations: 61.84 kB / 1.292 GB, free: 7.938 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001955/1.135, allocations: 0.6932 MB / 1.292 GB, free: 7.508 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00728/1.142, allocations: 2.422 MB / 1.295 GB, free: 6.227 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004048/1.146, allocations: 1.456 MB / 1.296 GB, free: 5.477 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.005141/1.152, allocations: 3.023 MB / 1.299 GB, free: 4.07 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001359/1.153, allocations: 0.6962 MB / 1.3 GB, free: 3.742 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003108/1.156, allocations: 1.199 MB / 1.301 GB, free: 3.211 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/1.158, allocations: 0.8109 MB / 1.302 GB, free: 2.895 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001926/1.158, allocations: 103.8 kB / 1.302 GB, free: 2.891 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003997/1.162, allocations: 1.692 MB / 1.304 GB, free: 2.297 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004704/1.162, allocations: 381.3 kB / 1.304 GB, free: 2.109 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006748/1.163, allocations: 479.7 kB / 1.304 GB, free: 1.855 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004387/1.167, allocations: 2.345 MB / 1.307 GB, free: 0.9844 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/1.167, allocations: 0 / 1.307 GB, free: 0.9844 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.453e-06/1.167, allocations: 0 / 1.307 GB, free: 0.9844 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.166e-05/1.167, allocations: 0.9688 kB / 1.307 GB, free: 0.9844 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.004069/1.171, allocations: 1.595 MB / 1.308 GB, free: 15.77 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/1.172, allocations: 10 kB / 1.308 GB, free: 15.77 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003573/1.175, allocations: 0.5406 MB / 1.309 GB, free: 15.53 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003778/1.179, allocations: 0.9676 MB / 1.31 GB, free: 14.82 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.98e-05/1.179, allocations: 51.69 kB / 1.31 GB, free: 14.8 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/1.179, allocations: 70.45 kB / 1.31 GB, free: 14.77 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002964/1.182, allocations: 1.241 MB / 1.311 GB, free: 13.96 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/1.182, allocations: 3.938 kB / 1.311 GB, free: 13.95 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.169e-05/1.182, allocations: 26.78 kB / 1.311 GB, free: 13.93 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.384e-05/1.182, allocations: 36.61 kB / 1.311 GB, free: 13.93 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003292/1.185, allocations: 1.194 MB / 1.312 GB, free: 13.32 MB / 1.154 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.006439/1.192, allocations: 2.709 MB / 1.315 GB, free: 11.35 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/1.194, allocations: 0.6705 MB / 1.316 GB, free: 10.98 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008633/1.195, allocations: 425.7 kB / 1.316 GB, free: 10.75 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005126/1.195, allocations: 135.9 kB / 1.316 GB, free: 10.7 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001196/1.196, allocations: 0.6487 MB / 1.317 GB, free: 10.2 MB / 1.154 GB Notification: Performance of pre-optimization done (n=57): time 2.455e-06/1.196, allocations: 0 / 1.317 GB, free: 10.2 MB / 1.154 GB Notification: Performance of matching and sorting (n=57): time 0.003214/1.2, allocations: 1.266 MB / 1.318 GB, free: 9.527 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/1.2, allocations: 142 kB / 1.318 GB, free: 9.367 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/1.201, allocations: 0.8916 MB / 1.319 GB, free: 8.867 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.658e-05/1.201, allocations: 36.67 kB / 1.319 GB, free: 8.828 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004278/1.202, allocations: 457.5 kB / 1.319 GB, free: 8.43 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/1.202, allocations: 204.9 kB / 1.32 GB, free: 8.254 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/1.202, allocations: 145.1 kB / 1.32 GB, free: 8.168 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001875/1.202, allocations: 335.8 kB / 1.32 GB, free: 7.84 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/1.204, allocations: 473.4 kB / 1.321 GB, free: 7.602 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/1.205, allocations: 0.9794 MB / 1.322 GB, free: 6.754 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002198/1.208, allocations: 0.9319 MB / 1.322 GB, free: 6.176 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/1.208, allocations: 6 kB / 1.322 GB, free: 6.172 MB / 1.154 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003433/1.211, allocations: 1.215 MB / 1.324 GB, free: 4.938 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.644e-05/1.211, allocations: 37.69 kB / 1.324 GB, free: 4.895 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.211, allocations: 8.031 kB / 1.324 GB, free: 4.887 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/1.211, allocations: 7.984 kB / 1.324 GB, free: 4.879 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/1.212, allocations: 184.1 kB / 1.324 GB, free: 4.699 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.786e-05/1.212, allocations: 11.94 kB / 1.324 GB, free: 4.688 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/1.214, allocations: 215.5 kB / 1.324 GB, free: 4.477 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/1.214, allocations: 35.98 kB / 1.324 GB, free: 4.441 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.0006317/1.214, allocations: 333.8 kB / 1.324 GB, free: 4.102 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002617/1.215, allocations: 99.39 kB / 1.325 GB, free: 4.004 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002422/1.217, allocations: 1.004 MB / 1.325 GB, free: 2.984 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/1.217, allocations: 8 kB / 1.326 GB, free: 2.977 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/1.217, allocations: 0 / 1.326 GB, free: 2.977 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/1.217, allocations: 7.922 kB / 1.326 GB, free: 2.969 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00567/1.223, allocations: 2.937 MB / 1.328 GB, free: 15.89 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.017e-05/1.223, allocations: 8 kB / 1.328 GB, free: 15.88 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006556/1.224, allocations: 128 kB / 1.329 GB, free: 15.75 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.445e-05/1.224, allocations: 8 kB / 1.329 GB, free: 15.75 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.375e-05/1.224, allocations: 24 kB / 1.329 GB, free: 15.72 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-05/1.224, allocations: 15.92 kB / 1.329 GB, free: 15.71 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.277e-06/1.224, allocations: 8.875 kB / 1.329 GB, free: 15.7 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00259/1.226, allocations: 1.364 MB / 1.33 GB, free: 14.21 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006274/1.227, allocations: 227 kB / 1.33 GB, free: 13.98 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001964/1.227, allocations: 20 kB / 1.33 GB, free: 13.96 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/1.228, allocations: 103.9 kB / 1.33 GB, free: 13.86 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/1.228, allocations: 63.69 kB / 1.33 GB, free: 13.8 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/1.229, allocations: 39.97 kB / 1.33 GB, free: 13.76 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001367/1.23, allocations: 0.6356 MB / 1.331 GB, free: 13.13 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.23, allocations: 0 / 1.331 GB, free: 13.13 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00145/1.231, allocations: 331.4 kB / 1.331 GB, free: 12.8 MB / 1.17 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.000805/1.232, allocations: 328.1 kB / 1.332 GB, free: 12.48 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002731/1.235, allocations: 1.035 MB / 1.333 GB, free: 11.43 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/1.235, allocations: 4 kB / 1.333 GB, free: 11.43 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/1.236, allocations: 0.5141 MB / 1.333 GB, free: 10.89 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/1.238, allocations: 392.5 kB / 1.333 GB, free: 10.54 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004422/1.243, allocations: 2.04 MB / 1.335 GB, free: 8.355 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007397/1.243, allocations: 481.6 kB / 1.336 GB, free: 7.848 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001024/1.244, allocations: 233.7 kB / 1.336 GB, free: 7.621 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/1.245, allocations: 68.47 kB / 1.336 GB, free: 7.555 MB / 1.17 GB Notification: Performance of SimCode: time 6.91e-07/1.245, allocations: 4 kB / 1.336 GB, free: 7.551 MB / 1.17 GB Notification: Performance of Templates: time 0.03491/1.28, allocations: 17.96 MB / 1.354 GB, free: 5.941 MB / 1.186 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.53875986195635]