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.00141/0.00141, allocations: 88.72 kB / 19.44 MB, free: 336 kB / 13.93 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.001613/0.001613, allocations: 161.3 kB / 22.75 MB, free: 1.664 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.523/1.523, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 3.258/3.258, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] 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.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|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.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.8776 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.197e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2836/0.2836, allocations: 171.7 MB / 1.045 GB, free: 10.24 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0146/0.2982, allocations: 6.524 MB / 1.052 GB, free: 3.699 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001893/0.3001, allocations: 59.44 kB / 1.052 GB, free: 3.641 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.002541/0.3027, allocations: 0.7022 MB / 1.052 GB, free: 2.934 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.008303/0.311, allocations: 2.445 MB / 1.055 GB, free: 488 kB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.5558/0.8668, allocations: 1.489 MB / 1.056 GB, free: 47.5 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003811/0.8706, allocations: 2.91 MB / 1.059 GB, free: 47.5 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/0.8716, allocations: 0.6794 MB / 1.06 GB, free: 47.47 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004108/0.8757, allocations: 1.931 MB / 1.062 GB, free: 47.47 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.877, allocations: 0.7247 MB / 1.062 GB, free: 47.46 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.8771, allocations: 99.77 kB / 1.062 GB, free: 47.46 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003067/0.8802, allocations: 1.683 MB / 1.064 GB, free: 47.46 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004052/0.8806, allocations: 392.4 kB / 1.064 GB, free: 47.46 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005504/0.8812, allocations: 387.4 kB / 1.065 GB, free: 47.46 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003143/0.8843, allocations: 2.446 MB / 1.067 GB, free: 47.43 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8843, allocations: 0 / 1.067 GB, free: 47.43 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8843, allocations: 0 / 1.067 GB, free: 47.43 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.747e-05/0.8843, allocations: 0 / 1.067 GB, free: 47.43 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.003061/0.8874, allocations: 1.561 MB / 1.069 GB, free: 46.63 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.8874, allocations: 11.66 kB / 1.069 GB, free: 46.63 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003064/0.8905, allocations: 0.6271 MB / 1.069 GB, free: 46.54 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002109/0.8926, allocations: 1 MB / 1.07 GB, free: 46.28 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.905e-05/0.8927, allocations: 59.33 kB / 1.07 GB, free: 46.28 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.8928, allocations: 70.77 kB / 1.07 GB, free: 46.28 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002338/0.8951, allocations: 1.238 MB / 1.072 GB, free: 46.02 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.8952, allocations: 0 / 1.072 GB, free: 46.02 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.102e-05/0.8953, allocations: 30.66 kB / 1.072 GB, free: 46.02 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-05/0.8953, allocations: 35.98 kB / 1.072 GB, free: 46.02 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002641/0.8979, allocations: 1.184 MB / 1.073 GB, free: 45.99 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.005061/0.903, allocations: 2.716 MB / 1.075 GB, free: 45.18 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.9046, allocations: 0.6873 MB / 1.076 GB, free: 45.12 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000737/0.9053, allocations: 424.2 kB / 1.077 GB, free: 45.08 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005084/0.9058, allocations: 139.4 kB / 1.077 GB, free: 45.08 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009689/0.9068, allocations: 0.6417 MB / 1.077 GB, free: 44.82 MB / 1.01 GB Notification: Performance of pre-optimization done (n=57): time 1.894e-06/0.9068, allocations: 0.9062 kB / 1.077 GB, free: 44.82 MB / 1.01 GB Notification: Performance of matching and sorting (n=57): time 0.002834/0.9096, allocations: 1.283 MB / 1.079 GB, free: 44.63 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.9097, allocations: 145.2 kB / 1.079 GB, free: 44.48 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.9111, allocations: 0.8649 MB / 1.08 GB, free: 44.34 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.978e-05/0.9112, allocations: 38.2 kB / 1.08 GB, free: 44.31 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.9114, allocations: 453.6 kB / 1.08 GB, free: 44.11 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.9116, allocations: 195.8 kB / 1.08 GB, free: 43.98 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000284/0.9118, allocations: 152.1 kB / 1.08 GB, free: 43.96 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.929e-05/0.9119, allocations: 325 kB / 1.081 GB, free: 43.66 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.9131, allocations: 474.4 kB / 1.081 GB, free: 43.62 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/0.9144, allocations: 0.9789 MB / 1.082 GB, free: 43.02 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/0.9162, allocations: 0.9338 MB / 1.083 GB, free: 42.84 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.9162, allocations: 4.031 kB / 1.083 GB, free: 42.84 MB / 1.01 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002897/0.9191, allocations: 1.232 MB / 1.084 GB, free: 42.7 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/0.9192, allocations: 46.86 kB / 1.084 GB, free: 42.66 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.9192, allocations: 3.062 kB / 1.084 GB, free: 42.66 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.9192, allocations: 6.5 kB / 1.084 GB, free: 42.66 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009299/0.9202, allocations: 187.5 kB / 1.084 GB, free: 42.66 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.9202, allocations: 8.844 kB / 1.084 GB, free: 42.66 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.9215, allocations: 221.6 kB / 1.085 GB, free: 42.63 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.9216, allocations: 40.61 kB / 1.085 GB, free: 42.63 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.0004309/0.9221, allocations: 324.8 kB / 1.085 GB, free: 42.48 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.9223, allocations: 112.4 kB / 1.085 GB, free: 42.44 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/0.9244, allocations: 1.008 MB / 1.086 GB, free: 42.32 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.9244, allocations: 10.16 kB / 1.086 GB, free: 42.32 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.9245, allocations: 1.062 kB / 1.086 GB, free: 42.32 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.9245, allocations: 4.859 kB / 1.086 GB, free: 42.32 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004442/0.9289, allocations: 2.932 MB / 1.089 GB, free: 41.59 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.9289, allocations: 8.312 kB / 1.089 GB, free: 41.59 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006144/0.9295, allocations: 121.7 kB / 1.089 GB, free: 41.59 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.437e-05/0.9295, allocations: 10.53 kB / 1.089 GB, free: 41.59 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-05/0.9296, allocations: 27.09 kB / 1.089 GB, free: 41.59 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.225e-05/0.9296, allocations: 15.98 kB / 1.089 GB, free: 41.59 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/0.9296, allocations: 12.41 kB / 1.089 GB, free: 41.59 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/0.9317, allocations: 1.369 MB / 1.09 GB, free: 41.02 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004462/0.9322, allocations: 218.7 kB / 1.091 GB, free: 40.96 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.9323, allocations: 25.08 kB / 1.091 GB, free: 40.96 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.9335, allocations: 101.1 kB / 1.091 GB, free: 40.96 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.9336, allocations: 66.08 kB / 1.091 GB, free: 40.96 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.018e-05/0.9337, allocations: 39.25 kB / 1.091 GB, free: 40.96 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001185/0.9349, allocations: 0.6268 MB / 1.092 GB, free: 40.86 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.9349, allocations: 1.094 kB / 1.092 GB, free: 40.86 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001265/0.9361, allocations: 331.1 kB / 1.092 GB, free: 40.82 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.0006399/0.9368, allocations: 346.6 kB / 1.092 GB, free: 40.7 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002372/0.9391, allocations: 1.035 MB / 1.093 GB, free: 40.57 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.9391, allocations: 3.141 kB / 1.093 GB, free: 40.57 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0009157/0.9401, allocations: 0.5079 MB / 1.094 GB, free: 40.48 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/0.9421, allocations: 381 kB / 1.094 GB, free: 40.45 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003587/0.9457, allocations: 2.022 MB / 1.096 GB, free: 39.5 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005302/0.9462, allocations: 477.8 kB / 1.096 GB, free: 39.4 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00094/0.9471, allocations: 236.1 kB / 1.097 GB, free: 39.37 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002781/0.9474, allocations: 68.39 kB / 1.097 GB, free: 39.36 MB / 1.01 GB Notification: Performance of SimCode: time 7.81e-07/0.9474, allocations: 0 / 1.097 GB, free: 39.36 MB / 1.01 GB Notification: Performance of Templates: time 0.0326/0.98, allocations: 17.3 MB / 1.114 GB, free: 37.32 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.92628957296256]