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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00715/0.00715, allocations: 95.77 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001613, allocations: 200.7 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 437 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001457, allocations: 63.89 kB / 1.019 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3461, allocations: 151.6 MB / 1.167 GB, free: 6.711 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.9127/1.259, allocations: 194 MB / 1.356 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01241/1.271, allocations: 6.923 MB / 1.363 GB, free: 11.04 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001783/1.273, allocations: 49.62 kB / 1.363 GB, free: 11.01 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002108/1.275, allocations: 0.7051 MB / 1.364 GB, free: 10.55 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006986/1.282, allocations: 2.437 MB / 1.366 GB, free: 9.238 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003839/1.286, allocations: 1.435 MB / 1.367 GB, free: 8.488 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.005473/1.292, allocations: 3.01 MB / 1.37 GB, free: 7.086 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001812/1.294, allocations: 0.8819 MB / 1.371 GB, free: 6.707 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003746/1.297, allocations: 1.159 MB / 1.372 GB, free: 6.137 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002232/1.3, allocations: 0.7938 MB / 1.373 GB, free: 5.668 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003997/1.3, allocations: 99.28 kB / 1.373 GB, free: 5.668 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005273/1.305, allocations: 2.074 MB / 1.375 GB, free: 4.496 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006613/1.306, allocations: 363.5 kB / 1.376 GB, free: 4.242 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001308/1.307, allocations: 0.5891 MB / 1.376 GB, free: 3.836 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004917/1.312, allocations: 2.401 MB / 1.378 GB, free: 2.273 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/1.312, allocations: 2.656 kB / 1.378 GB, free: 2.273 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.613e-06/1.312, allocations: 0 / 1.378 GB, free: 2.273 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.471e-05/1.312, allocations: 0 / 1.378 GB, free: 2.273 MB / 1.045 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.004245/1.316, allocations: 1.673 MB / 1.38 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/1.317, allocations: 11.94 kB / 1.38 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00294/1.319, allocations: 0.5396 MB / 1.381 GB, free: 0.7227 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002502/1.322, allocations: 1.043 MB / 1.382 GB, free: 15.91 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.993e-05/1.322, allocations: 55.47 kB / 1.382 GB, free: 15.88 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/1.322, allocations: 73.69 kB / 1.382 GB, free: 15.86 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/1.324, allocations: 1.107 MB / 1.383 GB, free: 15.2 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/1.325, allocations: 5.75 kB / 1.383 GB, free: 15.2 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.575e-05/1.325, allocations: 37.56 kB / 1.383 GB, free: 15.17 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-05/1.325, allocations: 32.98 kB / 1.383 GB, free: 15.16 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002829/1.327, allocations: 1.158 MB / 1.384 GB, free: 14.61 MB / 1.061 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.005527/1.333, allocations: 3.16 MB / 1.387 GB, free: 12.21 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/1.335, allocations: 0.6823 MB / 1.388 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007382/1.335, allocations: 426.7 kB / 1.388 GB, free: 11.65 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008754/1.336, allocations: 1.025 MB / 1.389 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000954/1.337, allocations: 0.5127 MB / 1.39 GB, free: 10.14 MB / 1.061 GB Notification: Performance of pre-optimization done (n=57): time 4.008e-06/1.337, allocations: 3.984 kB / 1.39 GB, free: 10.13 MB / 1.061 GB Notification: Performance of matching and sorting (n=57): time 0.002836/1.34, allocations: 1.229 MB / 1.391 GB, free: 9.512 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.739e-05/1.34, allocations: 136.8 kB / 1.391 GB, free: 9.355 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/1.342, allocations: 1.181 MB / 1.392 GB, free: 8.711 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.402e-05/1.342, allocations: 42.77 kB / 1.392 GB, free: 8.668 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003604/1.342, allocations: 438.5 kB / 1.393 GB, free: 8.285 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/1.343, allocations: 204.1 kB / 1.393 GB, free: 8.109 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002781/1.343, allocations: 155 kB / 1.393 GB, free: 8.016 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.343, allocations: 331.5 kB / 1.393 GB, free: 7.691 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/1.344, allocations: 438 kB / 1.394 GB, free: 7.488 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/1.345, allocations: 0.5984 MB / 1.394 GB, free: 7.117 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/1.347, allocations: 0.9191 MB / 1.395 GB, free: 6.551 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/1.347, allocations: 2.906 kB / 1.395 GB, free: 6.551 MB / 1.061 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002843/1.35, allocations: 1.201 MB / 1.396 GB, free: 5.941 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.241e-05/1.35, allocations: 41.09 kB / 1.396 GB, free: 5.902 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/1.35, allocations: 2.781 kB / 1.396 GB, free: 5.902 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/1.35, allocations: 7.344 kB / 1.396 GB, free: 5.902 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008695/1.351, allocations: 186.8 kB / 1.397 GB, free: 5.848 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/1.351, allocations: 9.703 kB / 1.397 GB, free: 5.844 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/1.353, allocations: 244.3 kB / 1.397 GB, free: 5.723 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.462e-05/1.353, allocations: 44.88 kB / 1.397 GB, free: 5.703 MB / 1.061 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.0004548/1.353, allocations: 328.2 kB / 1.397 GB, free: 5.445 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/1.353, allocations: 118.7 kB / 1.397 GB, free: 5.383 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/1.355, allocations: 0.9911 MB / 1.398 GB, free: 4.832 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/1.355, allocations: 7.469 kB / 1.398 GB, free: 4.832 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/1.355, allocations: 7.922 kB / 1.398 GB, free: 4.824 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/1.355, allocations: 0 / 1.398 GB, free: 4.824 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004732/1.36, allocations: 3.171 MB / 1.401 GB, free: 2.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/1.36, allocations: 12.19 kB / 1.401 GB, free: 2.566 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005464/1.361, allocations: 116.7 kB / 1.402 GB, free: 2.535 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/1.361, allocations: 10.62 kB / 1.402 GB, free: 2.535 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.342e-05/1.361, allocations: 30.83 kB / 1.402 GB, free: 2.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.14e-05/1.361, allocations: 13.5 kB / 1.402 GB, free: 2.516 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/1.361, allocations: 12.19 kB / 1.402 GB, free: 2.512 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/1.363, allocations: 1.353 MB / 1.403 GB, free: 1.531 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005672/1.364, allocations: 335.9 kB / 1.403 GB, free: 1.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/1.364, allocations: 26.83 kB / 1.403 GB, free: 1.238 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/1.365, allocations: 96.09 kB / 1.403 GB, free: 1.203 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/1.365, allocations: 58.86 kB / 1.403 GB, free: 1.148 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.769e-05/1.365, allocations: 39.97 kB / 1.403 GB, free: 1.109 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001437/1.366, allocations: 0.8482 MB / 1.404 GB, free: 260 kB / 1.061 GB Notification: Performance of sort global known variables: time 2.21e-07/1.366, allocations: 0 / 1.404 GB, free: 260 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.001076/1.367, allocations: 303.7 kB / 1.405 GB, free: 15.95 MB / 1.076 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.0006737/1.368, allocations: 355.3 kB / 1.405 GB, free: 15.62 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002292/1.37, allocations: 1.013 MB / 1.406 GB, free: 14.59 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.37, allocations: 4 kB / 1.406 GB, free: 14.59 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009002/1.371, allocations: 0.5102 MB / 1.406 GB, free: 14.07 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002574/1.374, allocations: 0.5497 MB / 1.407 GB, free: 13.52 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00368/1.378, allocations: 2.057 MB / 1.409 GB, free: 11.34 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007066/1.378, allocations: 1.073 MB / 1.41 GB, free: 10.23 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009194/1.379, allocations: 276 kB / 1.41 GB, free: 9.957 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/1.38, allocations: 79.42 kB / 1.41 GB, free: 9.879 MB / 1.076 GB Notification: Performance of SimCode: time 5.31e-07/1.38, allocations: 0 / 1.41 GB, free: 9.879 MB / 1.076 GB Notification: Performance of Templates: time 0.03824/1.418, allocations: 22.18 MB / 1.432 GB, free: 3.934 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches