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.001779/0.001779, allocations: 79.69 kB / 20.23 MB, free: 4.191 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.002008/0.002008, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.587/1.587, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 2.991/2.991, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.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: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.204e-05/4.482e-05, allocations: 5.125 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.3395/0.3395, allocations: 191.1 MB / 0.973 GB, free: 13.13 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01297/0.3525, allocations: 7.068 MB / 0.9799 GB, free: 6.051 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001661/0.3542, allocations: 67.38 kB / 0.9799 GB, free: 5.984 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001963/0.3561, allocations: 0.6906 MB / 0.9806 GB, free: 5.289 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.008832/0.365, allocations: 2.484 MB / 0.983 GB, free: 2.793 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.004014/0.369, allocations: 1.515 MB / 0.9845 GB, free: 1.281 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.005265/0.3742, allocations: 3.016 MB / 0.9875 GB, free: 14.26 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001534/0.3758, allocations: 0.7326 MB / 0.9882 GB, free: 13.51 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003467/0.3792, allocations: 1.523 MB / 0.9897 GB, free: 12 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.3808, allocations: 0.7519 MB / 0.9904 GB, free: 11.27 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002063/0.381, allocations: 100 kB / 0.9905 GB, free: 11.17 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00391/0.3849, allocations: 1.71 MB / 0.9922 GB, free: 9.453 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0005053/0.3855, allocations: 402.7 kB / 0.9925 GB, free: 9.059 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006478/0.3861, allocations: 399 kB / 0.9929 GB, free: 8.668 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.004826/0.3909, allocations: 2.454 MB / 0.9953 GB, free: 6.207 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3909, allocations: 0 / 0.9953 GB, free: 6.207 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.856e-06/0.3909, allocations: 0 / 0.9953 GB, free: 6.207 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.82e-05/0.391, allocations: 4 kB / 0.9953 GB, free: 6.203 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.003926/0.3949, allocations: 1.772 MB / 0.9971 GB, free: 4.383 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3949, allocations: 8.031 kB / 0.9971 GB, free: 4.375 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002761/0.3977, allocations: 0.5025 MB / 0.9975 GB, free: 3.871 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002466/0.4001, allocations: 1.016 MB / 0.9985 GB, free: 2.828 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.097e-05/0.4002, allocations: 57.3 kB / 0.9986 GB, free: 2.773 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.4004, allocations: 68 kB / 0.9987 GB, free: 2.707 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/0.4028, allocations: 1.082 MB / 0.9997 GB, free: 1.555 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.4028, allocations: 0 / 0.9997 GB, free: 1.555 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.977e-05/0.4029, allocations: 31.98 kB / 0.9997 GB, free: 1.523 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.729e-05/0.4029, allocations: 37.19 kB / 0.9998 GB, free: 1.484 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002462/0.4054, allocations: 0.8344 MB / 1.001 GB, free: 0.6445 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.006558/0.412, allocations: 3.185 MB / 1.004 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.4134, allocations: 0.4951 MB / 1.004 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000642/0.4141, allocations: 282.8 kB / 1.004 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005512/0.4146, allocations: 128.4 kB / 1.005 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001073/0.4157, allocations: 0.5639 MB / 1.005 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=57): time 2.205e-06/0.4157, allocations: 4 kB / 1.005 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of matching and sorting (n=57): time 0.002601/0.4183, allocations: 0.9023 MB / 1.006 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.4184, allocations: 140.9 kB / 1.006 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001818/0.4202, allocations: 1.062 MB / 1.007 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-05/0.4203, allocations: 37.69 kB / 1.007 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006338/0.421, allocations: 0.5501 MB / 1.008 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005053/0.4215, allocations: 210.3 kB / 1.008 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003429/0.4218, allocations: 179.8 kB / 1.008 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003121/0.4221, allocations: 0.5277 MB / 1.009 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009361/0.4231, allocations: 302.9 kB / 1.009 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/0.4245, allocations: 0.871 MB / 1.01 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.4263, allocations: 0.707 MB / 1.01 GB, free: 6.031 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.4263, allocations: 0 / 1.01 GB, free: 6.031 MB / 0.9636 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002726/0.429, allocations: 0.914 MB / 1.011 GB, free: 5.098 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 6.396e-05/0.429, allocations: 41.69 kB / 1.011 GB, free: 5.051 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.4291, allocations: 4 kB / 1.011 GB, free: 5.047 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.064e-05/0.4291, allocations: 8 kB / 1.011 GB, free: 5.039 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008419/0.4299, allocations: 160 kB / 1.012 GB, free: 4.883 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-05/0.43, allocations: 8 kB / 1.012 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.4311, allocations: 139.5 kB / 1.012 GB, free: 4.738 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.4312, allocations: 39.97 kB / 1.012 GB, free: 4.699 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.0006197/0.4318, allocations: 330 kB / 1.012 GB, free: 4.359 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004147/0.4323, allocations: 115.4 kB / 1.012 GB, free: 4.246 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/0.4343, allocations: 0.7366 MB / 1.013 GB, free: 3.492 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.4344, allocations: 8 kB / 1.013 GB, free: 3.484 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.4344, allocations: 0 / 1.013 GB, free: 3.484 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.4344, allocations: 3.984 kB / 1.013 GB, free: 3.48 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006262/0.4406, allocations: 2.591 MB / 1.015 GB, free: 0.707 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.959e-05/0.4407, allocations: 12.19 kB / 1.015 GB, free: 0.6953 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006031/0.4413, allocations: 103.8 kB / 1.016 GB, free: 0.5938 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.009e-05/0.4413, allocations: 12 kB / 1.016 GB, free: 0.582 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.974e-05/0.4414, allocations: 27.92 kB / 1.016 GB, free: 0.5547 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.546e-05/0.4414, allocations: 19.92 kB / 1.016 GB, free: 0.5352 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.347e-05/0.4414, allocations: 11.94 kB / 1.016 GB, free: 0.5234 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002552/0.444, allocations: 1.283 MB / 1.017 GB, free: 15.08 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007072/0.4447, allocations: 219.1 kB / 1.017 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/0.4449, allocations: 31.86 kB / 1.017 GB, free: 14.83 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009718/0.4458, allocations: 67.95 kB / 1.017 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.446, allocations: 55.8 kB / 1.017 GB, free: 14.71 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.4461, allocations: 39.97 kB / 1.017 GB, free: 14.67 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00134/0.4474, allocations: 0.6786 MB / 1.018 GB, free: 14 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4474, allocations: 4 kB / 1.018 GB, free: 14 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001298/0.4487, allocations: 331.3 kB / 1.018 GB, free: 13.67 MB / 0.9792 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.0007851/0.4495, allocations: 340.1 kB / 1.019 GB, free: 13.34 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00222/0.4517, allocations: 0.7915 MB / 1.019 GB, free: 12.52 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.4517, allocations: 0 / 1.019 GB, free: 12.52 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0009301/0.4527, allocations: 418.9 kB / 1.02 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002476/0.4551, allocations: 422.3 kB / 1.02 GB, free: 11.68 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004746/0.4599, allocations: 1.959 MB / 1.022 GB, free: 9.547 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007535/0.4606, allocations: 473.5 kB / 1.023 GB, free: 9.047 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001044/0.4617, allocations: 209.4 kB / 1.023 GB, free: 8.844 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003104/0.462, allocations: 68.47 kB / 1.023 GB, free: 8.777 MB / 0.9792 GB Notification: Performance of SimCode: time 2.174e-06/0.462, allocations: 4 kB / 1.023 GB, free: 8.773 MB / 0.9792 GB Notification: Performance of Templates: time 0.03843/0.5004, allocations: 18.07 MB / 1.04 GB, free: 7.047 MB / 0.9948 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=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","/var/lib/jenkins/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.497437879093923]