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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001366/0.001366, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001464/0.001464, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.433/1.433, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.806/2.806, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 70.11 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4255, allocations: 157.4 MB / 1.052 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2272/0.6527, allocations: 191.7 MB / 1.239 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01259/0.6653, allocations: 6.997 MB / 1.246 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002358/0.6677, allocations: 35.75 kB / 1.246 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002384/0.6702, allocations: 0.5748 MB / 1.247 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.788/1.458, allocations: 2.172 MB / 1.249 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003515/1.462, allocations: 1.275 MB / 1.25 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005985/1.468, allocations: 3.737 MB / 1.254 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001628/1.469, allocations: 0.7827 MB / 1.254 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002272/1.472, allocations: 0.9742 MB / 1.255 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002165/1.474, allocations: 0.8118 MB / 1.256 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001767/1.474, allocations: 51.2 kB / 1.256 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004814/1.479, allocations: 2.229 MB / 1.258 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005416/1.479, allocations: 320.5 kB / 1.259 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008213/1.48, allocations: 0.5317 MB / 1.259 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004412/1.485, allocations: 2.422 MB / 1.262 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.485, allocations: 3.875 kB / 1.262 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.014e-06/1.485, allocations: 0.9062 kB / 1.262 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.012e-05/1.485, allocations: 4 kB / 1.262 GB, free: 3.574 MB / 0.9981 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.004342/1.489, allocations: 1.623 MB / 1.263 GB, free: 18.71 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/1.489, allocations: 9.969 kB / 1.263 GB, free: 18.71 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003416/1.493, allocations: 0.5336 MB / 1.264 GB, free: 18.62 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002766/1.495, allocations: 0.989 MB / 1.265 GB, free: 18.29 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001264/1.497, allocations: 274.7 kB / 1.265 GB, free: 18.26 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/1.497, allocations: 68.67 kB / 1.265 GB, free: 18.26 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00297/1.5, allocations: 1.128 MB / 1.266 GB, free: 18.14 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/1.5, allocations: 0 / 1.266 GB, free: 18.14 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.165e-05/1.5, allocations: 26.27 kB / 1.266 GB, free: 18.14 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.525e-05/1.5, allocations: 38.03 kB / 1.266 GB, free: 18.13 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003427/1.504, allocations: 1.199 MB / 1.267 GB, free: 18.1 MB / 1.014 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.00779/1.511, allocations: 3.208 MB / 1.271 GB, free: 17.14 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/1.513, allocations: 0.6879 MB / 1.271 GB, free: 17.1 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007956/1.514, allocations: 429.7 kB / 1.272 GB, free: 17.08 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/1.515, allocations: 1.021 MB / 1.273 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/1.516, allocations: 0.5175 MB / 1.273 GB, free: 15.84 MB / 1.014 GB Notification: Performance of pre-optimization done (n=57): time 2.305e-06/1.516, allocations: 0 / 1.273 GB, free: 15.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=57): time 0.00307/1.519, allocations: 1.214 MB / 1.274 GB, free: 15.7 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/1.519, allocations: 143.9 kB / 1.274 GB, free: 15.54 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002153/1.522, allocations: 1.2 MB / 1.276 GB, free: 15.38 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/1.522, allocations: 42.73 kB / 1.276 GB, free: 15.35 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/1.522, allocations: 434.3 kB / 1.276 GB, free: 15.22 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/1.522, allocations: 187.9 kB / 1.276 GB, free: 15.11 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003018/1.522, allocations: 149.1 kB / 1.276 GB, free: 15.08 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001822/1.523, allocations: 333.9 kB / 1.277 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/1.524, allocations: 464 kB / 1.277 GB, free: 14.76 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/1.525, allocations: 0.6124 MB / 1.278 GB, free: 14.61 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002059/1.528, allocations: 0.9464 MB / 1.279 GB, free: 14.4 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/1.528, allocations: 5.062 kB / 1.279 GB, free: 14.39 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003137/1.531, allocations: 1.23 MB / 1.28 GB, free: 14.24 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.142e-05/1.531, allocations: 37.66 kB / 1.28 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/1.531, allocations: 12.47 kB / 1.28 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/1.531, allocations: 11.03 kB / 1.28 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009688/1.532, allocations: 192.6 kB / 1.28 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/1.532, allocations: 6.312 kB / 1.28 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/1.534, allocations: 278.3 kB / 1.28 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/1.534, allocations: 38.42 kB / 1.28 GB, free: 14.14 MB / 1.014 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.0006275/1.534, allocations: 324.7 kB / 1.281 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002577/1.535, allocations: 117.2 kB / 1.281 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/1.537, allocations: 0.9997 MB / 1.282 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/1.537, allocations: 10.47 kB / 1.282 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/1.537, allocations: 1.156 kB / 1.282 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/1.537, allocations: 3.75 kB / 1.282 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005799/1.543, allocations: 3.16 MB / 1.285 GB, free: 13.03 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.867e-05/1.543, allocations: 7.094 kB / 1.285 GB, free: 13.03 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006734/1.543, allocations: 121.4 kB / 1.285 GB, free: 13.03 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.413e-05/1.544, allocations: 13.16 kB / 1.285 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.237e-05/1.544, allocations: 31.66 kB / 1.285 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-05/1.544, allocations: 15.27 kB / 1.285 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.729e-06/1.544, allocations: 11.22 kB / 1.285 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002635/1.546, allocations: 1.331 MB / 1.286 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008813/1.547, allocations: 336.6 kB / 1.287 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003796/1.548, allocations: 24.56 kB / 1.287 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/1.549, allocations: 111.8 kB / 1.287 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/1.549, allocations: 56.05 kB / 1.287 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/1.549, allocations: 43.94 kB / 1.287 GB, free: 12.26 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00187/1.551, allocations: 0.8662 MB / 1.288 GB, free: 12.14 MB / 1.014 GB Notification: Performance of sort global known variables: time 2e-07/1.551, allocations: 0 / 1.288 GB, free: 12.14 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001726/1.553, allocations: 303.4 kB / 1.288 GB, free: 12.12 MB / 1.014 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.000974/1.554, allocations: 342.9 kB / 1.288 GB, free: 11.98 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002634/1.557, allocations: 1.021 MB / 1.289 GB, free: 11.89 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.946e-06/1.557, allocations: 2.312 kB / 1.289 GB, free: 11.89 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/1.558, allocations: 0.5179 MB / 1.29 GB, free: 11.82 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003458/1.561, allocations: 0.5289 MB / 1.29 GB, free: 11.78 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004599/1.566, allocations: 2.343 MB / 1.293 GB, free: 10.58 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009155/1.567, allocations: 1.068 MB / 1.294 GB, free: 9.863 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00171/1.568, allocations: 282.5 kB / 1.294 GB, free: 9.797 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003724/1.569, allocations: 84.78 kB / 1.294 GB, free: 9.789 MB / 1.014 GB Notification: Performance of SimCode: time 1.152e-06/1.569, allocations: 0 / 1.294 GB, free: 9.789 MB / 1.014 GB Notification: Performance of Templates: time 0.03558/1.604, allocations: 21.26 MB / 1.315 GB, free: 5.973 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) 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) Reference file matches