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.001119/0.001119, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001144, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.748/2.748, allocations: 437 MB / 0.7103 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002487/0.002487, allocations: 67.89 kB / 0.8692 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6922/0.6947, allocations: 151.6 MB / 1.017 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2006/0.8953, allocations: 194 MB / 1.207 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0104/0.9057, allocations: 6.939 MB / 1.213 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002036/0.9078, allocations: 43.75 kB / 1.214 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00186/0.9097, allocations: 0.6868 MB / 1.214 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006142/0.9159, allocations: 2.345 MB / 1.217 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003808/0.9197, allocations: 1.402 MB / 1.218 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005149/0.9249, allocations: 2.986 MB / 1.221 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001471/0.9264, allocations: 0.8957 MB / 1.222 GB, free: 484 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003182/0.9296, allocations: 1.126 MB / 1.223 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00184/0.9314, allocations: 0.8024 MB / 1.224 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002395/0.9317, allocations: 100 kB / 1.224 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004972/0.9367, allocations: 2.05 MB / 1.226 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006406/0.9373, allocations: 370.8 kB / 1.226 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009159/0.9382, allocations: 0.5792 MB / 1.227 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004551/0.9428, allocations: 2.361 MB / 1.229 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.9428, allocations: 0 / 1.229 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9428, allocations: 0 / 1.229 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.9429, allocations: 0 / 1.229 GB, free: 9.082 MB / 0.9825 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.003491/0.9464, allocations: 1.64 MB / 1.23 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.9464, allocations: 12.03 kB / 1.23 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002909/0.9493, allocations: 0.5254 MB / 1.231 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.9514, allocations: 0.992 MB / 1.232 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001155/0.9526, allocations: 277 kB / 1.232 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.9527, allocations: 71.98 kB / 1.232 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002499/0.9552, allocations: 1.116 MB / 1.233 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.9553, allocations: 3.938 kB / 1.233 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.565e-05/0.9553, allocations: 31.98 kB / 1.233 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.103e-05/0.9554, allocations: 33.3 kB / 1.233 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003199/0.9586, allocations: 1.196 MB / 1.235 GB, free: 3.059 MB / 0.9825 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.006005/0.9646, allocations: 3.213 MB / 1.238 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.9663, allocations: 0.688 MB / 1.238 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008571/0.9672, allocations: 426.1 kB / 1.239 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008755/0.9681, allocations: 1.021 MB / 1.24 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/0.9691, allocations: 0.5182 MB / 1.24 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=57): time 2.204e-06/0.9691, allocations: 0 / 1.24 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=57): time 0.003021/0.9722, allocations: 1.221 MB / 1.242 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.081e-05/0.9723, allocations: 144.8 kB / 1.242 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/0.9743, allocations: 1.196 MB / 1.243 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.337e-05/0.9744, allocations: 41.7 kB / 1.243 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003674/0.9747, allocations: 437.4 kB / 1.243 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/0.9749, allocations: 197.2 kB / 1.243 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/0.9752, allocations: 146.1 kB / 1.244 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.9753, allocations: 326 kB / 1.244 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.9767, allocations: 464.9 kB / 1.244 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/0.9782, allocations: 0.6107 MB / 1.245 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002189/0.9804, allocations: 0.9379 MB / 1.246 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.9805, allocations: 8 kB / 1.246 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003442/0.9839, allocations: 1.241 MB / 1.247 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.933e-05/0.984, allocations: 39.42 kB / 1.247 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.984, allocations: 4 kB / 1.247 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.984, allocations: 12.28 kB / 1.247 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009854/0.985, allocations: 199.6 kB / 1.247 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.985, allocations: 4 kB / 1.247 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.9867, allocations: 270.9 kB / 1.248 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.024e-05/0.9867, allocations: 31.98 kB / 1.248 GB, free: 5.168 MB / 0.9981 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.0005068/0.9873, allocations: 331.3 kB / 1.248 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.9875, allocations: 118.6 kB / 1.248 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/0.9896, allocations: 1.003 MB / 1.249 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.9896, allocations: 7.938 kB / 1.249 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.9896, allocations: 4 kB / 1.249 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.9897, allocations: 3.984 kB / 1.249 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004742/0.9944, allocations: 3.157 MB / 1.252 GB, free: 380 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.9944, allocations: 8.656 kB / 1.252 GB, free: 372 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006625/0.9951, allocations: 123.8 kB / 1.252 GB, free: 248 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-05/0.9951, allocations: 8 kB / 1.252 GB, free: 240 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.582e-05/0.9952, allocations: 23.98 kB / 1.252 GB, free: 216 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.157e-05/0.9952, allocations: 15.92 kB / 1.252 GB, free: 200 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-06/0.9952, allocations: 11.94 kB / 1.252 GB, free: 188 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5336/1.529, allocations: 1.339 MB / 1.254 GB, free: 233 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008429/1.53, allocations: 331.8 kB / 1.254 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003635/1.53, allocations: 22.73 kB / 1.254 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/1.532, allocations: 108.1 kB / 1.254 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/1.532, allocations: 61.27 kB / 1.254 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/1.532, allocations: 41.14 kB / 1.254 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002141/1.534, allocations: 0.8691 MB / 1.255 GB, free: 232.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/1.534, allocations: 0 / 1.255 GB, free: 232.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001385/1.535, allocations: 299.4 kB / 1.255 GB, free: 232.6 MB / 0.9981 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.0008326/1.536, allocations: 348.5 kB / 1.256 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002997/1.539, allocations: 1.045 MB / 1.257 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/1.539, allocations: 1.5 kB / 1.257 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/1.54, allocations: 0.5146 MB / 1.257 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003366/1.544, allocations: 0.5616 MB / 1.258 GB, free: 231.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/1.548, allocations: 2.054 MB / 1.26 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007003/1.548, allocations: 1.073 MB / 1.261 GB, free: 230 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001371/1.55, allocations: 277.8 kB / 1.261 GB, free: 230 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/1.55, allocations: 85.88 kB / 1.261 GB, free: 230 MB / 0.9981 GB Notification: Performance of SimCode: time 7.12e-07/1.55, allocations: 0 / 1.261 GB, free: 230 MB / 0.9981 GB Notification: Performance of Templates: time 0.03709/1.587, allocations: 22.05 MB / 1.283 GB, free: 222 MB / 0.9981 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