Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008097/0.008097, allocations: 99.5 kB / 15.73 MB, free: 5.996 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.001519/0.001519, allocations: 199.5 kB / 16.68 MB, free: 5.918 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.279/2.279, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.91 kB / 0.9508 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9325/0.9338, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2294/1.163, allocations: 194 MB / 1.277 GB, free: 11.63 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01295/1.176, allocations: 6.94 MB / 1.284 GB, free: 4.676 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002405/1.179, allocations: 47.69 kB / 1.284 GB, free: 4.629 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002243/1.181, allocations: 0.683 MB / 1.285 GB, free: 3.941 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.009033/1.19, allocations: 2.349 MB / 1.287 GB, free: 1.586 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005211/1.195, allocations: 1.423 MB / 1.289 GB, free: 188 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006639/1.202, allocations: 2.994 MB / 1.291 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002615/1.205, allocations: 0.8801 MB / 1.292 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004873/1.209, allocations: 1.149 MB / 1.293 GB, free: 11.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002214/1.212, allocations: 0.8024 MB / 1.294 GB, free: 10.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004706/1.212, allocations: 96 kB / 1.294 GB, free: 10.24 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005606/1.218, allocations: 2.066 MB / 1.296 GB, free: 8.172 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006866/1.218, allocations: 358.9 kB / 1.297 GB, free: 7.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001163/1.22, allocations: 0.5908 MB / 1.297 GB, free: 7.227 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.005405/1.225, allocations: 2.394 MB / 1.3 GB, free: 4.828 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.225, allocations: 0 / 1.3 GB, free: 4.828 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.753e-06/1.225, allocations: 0 / 1.3 GB, free: 4.828 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.423e-05/1.225, allocations: 0 / 1.3 GB, free: 4.828 MB / 1.029 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.005993/1.231, allocations: 1.629 MB / 1.301 GB, free: 3.141 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/1.231, allocations: 8.031 kB / 1.301 GB, free: 3.133 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004039/1.235, allocations: 0.5331 MB / 1.302 GB, free: 2.598 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004053/1.239, allocations: 1.041 MB / 1.303 GB, free: 1.512 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/1.24, allocations: 53.31 kB / 1.303 GB, free: 1.461 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003682/1.24, allocations: 71.94 kB / 1.303 GB, free: 1.391 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00411/1.244, allocations: 1.105 MB / 1.304 GB, free: 264 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/1.244, allocations: 3.938 kB / 1.304 GB, free: 260 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/1.244, allocations: 28 kB / 1.304 GB, free: 232 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.613e-05/1.244, allocations: 33.31 kB / 1.304 GB, free: 200 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004357/1.249, allocations: 1.168 MB / 1.305 GB, free: 15.02 MB / 1.045 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.00873/1.257, allocations: 3.162 MB / 1.308 GB, free: 11.78 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002269/1.26, allocations: 0.688 MB / 1.309 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001239/1.261, allocations: 414.2 kB / 1.309 GB, free: 10.68 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00123/1.262, allocations: 1.033 MB / 1.31 GB, free: 9.426 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001385/1.264, allocations: 0.5104 MB / 1.311 GB, free: 8.879 MB / 1.045 GB Notification: Performance of pre-optimization done (n=57): time 4.608e-06/1.264, allocations: 0 / 1.311 GB, free: 8.879 MB / 1.045 GB Notification: Performance of matching and sorting (n=57): time 0.004248/1.268, allocations: 1.221 MB / 1.312 GB, free: 7.652 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/1.268, allocations: 148.8 kB / 1.312 GB, free: 7.477 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002963/1.271, allocations: 1.172 MB / 1.313 GB, free: 6.289 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001198/1.271, allocations: 37.7 kB / 1.313 GB, free: 6.246 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000544/1.272, allocations: 441.4 kB / 1.314 GB, free: 5.812 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/1.272, allocations: 193.2 kB / 1.314 GB, free: 5.621 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004113/1.272, allocations: 146.1 kB / 1.314 GB, free: 5.473 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001564/1.273, allocations: 326 kB / 1.314 GB, free: 5.148 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/1.274, allocations: 444.9 kB / 1.315 GB, free: 4.711 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001937/1.276, allocations: 0.5937 MB / 1.315 GB, free: 4.07 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002912/1.279, allocations: 0.9262 MB / 1.316 GB, free: 3.086 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/1.279, allocations: 0 / 1.316 GB, free: 3.086 MB / 1.045 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004328/1.283, allocations: 1.197 MB / 1.317 GB, free: 1.875 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.668e-05/1.284, allocations: 41.69 kB / 1.317 GB, free: 1.828 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/1.284, allocations: 4 kB / 1.318 GB, free: 1.824 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.709e-05/1.284, allocations: 12 kB / 1.318 GB, free: 1.812 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/1.285, allocations: 192 kB / 1.318 GB, free: 1.625 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.499e-05/1.285, allocations: 15.86 kB / 1.318 GB, free: 1.609 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/1.287, allocations: 246.8 kB / 1.318 GB, free: 1.367 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/1.287, allocations: 31.98 kB / 1.318 GB, free: 1.336 MB / 1.045 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.0006592/1.288, allocations: 332.7 kB / 1.318 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003675/1.288, allocations: 114.7 kB / 1.318 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002997/1.291, allocations: 0.9921 MB / 1.319 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/1.291, allocations: 7.938 kB / 1.319 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/1.291, allocations: 7.938 kB / 1.319 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/1.291, allocations: 7.984 kB / 1.319 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007171/1.299, allocations: 3.146 MB / 1.322 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-05/1.299, allocations: 11.94 kB / 1.322 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000802/1.299, allocations: 124 kB / 1.323 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.7e-05/1.299, allocations: 8 kB / 1.323 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-05/1.299, allocations: 23.98 kB / 1.323 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.58e-05/1.3, allocations: 11.98 kB / 1.323 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.164e-05/1.3, allocations: 11.94 kB / 1.323 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003102/1.303, allocations: 1.353 MB / 1.324 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008707/1.304, allocations: 335.3 kB / 1.324 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003626/1.304, allocations: 20 kB / 1.324 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/1.306, allocations: 103.9 kB / 1.324 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/1.306, allocations: 67.56 kB / 1.324 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/1.306, allocations: 39.97 kB / 1.325 GB, free: 10.32 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002387/1.308, allocations: 0.8443 MB / 1.325 GB, free: 9.473 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.4e-07/1.308, allocations: 4 kB / 1.325 GB, free: 9.469 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001901/1.31, allocations: 307.8 kB / 1.326 GB, free: 9.168 MB / 1.061 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.001172/1.311, allocations: 331.2 kB / 1.326 GB, free: 8.848 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003335/1.315, allocations: 1.021 MB / 1.327 GB, free: 7.816 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.315, allocations: 0 / 1.327 GB, free: 7.816 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/1.316, allocations: 0.5145 MB / 1.327 GB, free: 7.293 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004094/1.32, allocations: 0.5534 MB / 1.328 GB, free: 6.75 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00536/1.326, allocations: 2.025 MB / 1.33 GB, free: 4.602 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/1.327, allocations: 1.069 MB / 1.331 GB, free: 3.5 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001477/1.328, allocations: 280 kB / 1.331 GB, free: 3.227 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003874/1.329, allocations: 79.41 kB / 1.331 GB, free: 3.148 MB / 1.061 GB Notification: Performance of SimCode: time 8.12e-07/1.329, allocations: 0 / 1.331 GB, free: 3.148 MB / 1.061 GB Notification: Performance of Templates: time 0.04188/1.371, allocations: 22.49 MB / 1.353 GB, free: 12.89 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches