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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.009334/0.009334, allocations: 96.91 kB / 15.87 MB, free: 6.289 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.001869/0.001869, allocations: 202 kB / 16.79 MB, free: 6.215 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.381/1.381, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.631/2.631, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 64.25 kB / 0.899 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2864, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1857/0.4722, allocations: 191.7 MB / 1.24 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01074/0.483, allocations: 6.991 MB / 1.247 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/0.4845, allocations: 43.69 kB / 1.247 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001961/0.4865, allocations: 0.5671 MB / 1.247 GB, free: 340 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.5467/1.033, allocations: 2.182 MB / 1.249 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003118/1.036, allocations: 1.268 MB / 1.251 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004797/1.041, allocations: 3.745 MB / 1.254 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/1.043, allocations: 0.7847 MB / 1.255 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002254/1.045, allocations: 0.9701 MB / 1.256 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00209/1.047, allocations: 0.8116 MB / 1.257 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001943/1.047, allocations: 45.66 kB / 1.257 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004521/1.052, allocations: 2.222 MB / 1.259 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000532/1.052, allocations: 325.8 kB / 1.259 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008581/1.053, allocations: 0.5323 MB / 1.26 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0031/1.056, allocations: 1.773 MB / 1.262 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/1.056, allocations: 0 / 1.262 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.483e-06/1.056, allocations: 0 / 1.262 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.196e-05/1.056, allocations: 0 / 1.262 GB, free: 2.754 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.004335/1.061, allocations: 1.627 MB / 1.263 GB, free: 17.89 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/1.061, allocations: 14.05 kB / 1.263 GB, free: 17.88 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003384/1.064, allocations: 0.5395 MB / 1.264 GB, free: 17.8 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002435/1.067, allocations: 0.9859 MB / 1.265 GB, free: 17.46 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001261/1.068, allocations: 275 kB / 1.265 GB, free: 17.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002196/1.068, allocations: 72.31 kB / 1.265 GB, free: 17.43 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002751/1.071, allocations: 1.126 MB / 1.266 GB, free: 17.3 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/1.071, allocations: 0.8438 kB / 1.266 GB, free: 17.3 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-05/1.071, allocations: 27.42 kB / 1.266 GB, free: 17.3 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.256e-05/1.071, allocations: 33.95 kB / 1.266 GB, free: 17.3 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003176/1.074, allocations: 1.198 MB / 1.267 GB, free: 17.27 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.007393/1.082, allocations: 3.209 MB / 1.271 GB, free: 16.31 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/1.084, allocations: 0.689 MB / 1.271 GB, free: 16.27 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008785/1.085, allocations: 428 kB / 1.272 GB, free: 16.25 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009818/1.086, allocations: 1.023 MB / 1.273 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/1.087, allocations: 0.5155 MB / 1.273 GB, free: 15.02 MB / 1.014 GB Notification: Performance of pre-optimization done (n=57): time 2.575e-06/1.087, allocations: 4 kB / 1.273 GB, free: 15.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=57): time 0.003425/1.09, allocations: 1.217 MB / 1.274 GB, free: 14.87 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/1.09, allocations: 140 kB / 1.274 GB, free: 14.71 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002424/1.093, allocations: 1.204 MB / 1.276 GB, free: 14.55 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001767/1.093, allocations: 39.17 kB / 1.276 GB, free: 14.52 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/1.093, allocations: 434.6 kB / 1.276 GB, free: 14.39 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/1.093, allocations: 184.8 kB / 1.276 GB, free: 14.28 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/1.094, allocations: 152.2 kB / 1.276 GB, free: 14.25 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.094, allocations: 334.2 kB / 1.277 GB, free: 13.94 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/1.095, allocations: 457.2 kB / 1.277 GB, free: 13.93 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/1.097, allocations: 0.6199 MB / 1.278 GB, free: 13.78 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/1.099, allocations: 0.9457 MB / 1.279 GB, free: 13.57 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/1.099, allocations: 5.219 kB / 1.279 GB, free: 13.56 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0035/1.102, allocations: 1.231 MB / 1.28 GB, free: 13.41 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.635e-05/1.102, allocations: 43.97 kB / 1.28 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/1.102, allocations: 3.094 kB / 1.28 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/1.102, allocations: 6.766 kB / 1.28 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009606/1.103, allocations: 198.3 kB / 1.28 GB, free: 13.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/1.103, allocations: 9.609 kB / 1.28 GB, free: 13.37 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001929/1.105, allocations: 272.3 kB / 1.28 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/1.105, allocations: 34.83 kB / 1.28 GB, free: 13.3 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.0006459/1.106, allocations: 327.5 kB / 1.281 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002837/1.106, allocations: 118.8 kB / 1.281 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/1.109, allocations: 0.9995 MB / 1.282 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/1.109, allocations: 6.812 kB / 1.282 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.109, allocations: 1.094 kB / 1.282 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/1.109, allocations: 5.188 kB / 1.282 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005279/1.114, allocations: 3.155 MB / 1.285 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/1.114, allocations: 11.3 kB / 1.285 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005981/1.115, allocations: 120.3 kB / 1.285 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.052e-05/1.115, allocations: 13.88 kB / 1.285 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.374e-05/1.115, allocations: 23.73 kB / 1.285 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.417e-05/1.115, allocations: 19.67 kB / 1.285 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/1.115, allocations: 11.59 kB / 1.285 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002629/1.117, allocations: 1.343 MB / 1.286 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008418/1.118, allocations: 329 kB / 1.287 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002165/1.118, allocations: 24.75 kB / 1.287 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/1.12, allocations: 108.8 kB / 1.287 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/1.12, allocations: 58.16 kB / 1.287 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.617e-05/1.12, allocations: 40.17 kB / 1.287 GB, free: 11.43 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001676/1.122, allocations: 0.8739 MB / 1.288 GB, free: 11.31 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/1.122, allocations: 0 / 1.288 GB, free: 11.31 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001519/1.123, allocations: 298.7 kB / 1.288 GB, free: 11.29 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.0009142/1.124, allocations: 342.4 kB / 1.288 GB, free: 11.15 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002517/1.127, allocations: 1.02 MB / 1.289 GB, free: 11.07 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.127, allocations: 1.438 kB / 1.289 GB, free: 11.07 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009305/1.128, allocations: 0.517 MB / 1.29 GB, free: 10.99 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/1.13, allocations: 0.5334 MB / 1.29 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/1.134, allocations: 2.383 MB / 1.293 GB, free: 9.715 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007071/1.135, allocations: 1.062 MB / 1.294 GB, free: 9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004424/1.135, allocations: 94.3 kB / 1.294 GB, free: 8.992 MB / 1.014 GB Notification: Performance of SimCode: time 1.012e-06/1.135, allocations: 1.094 kB / 1.294 GB, free: 8.992 MB / 1.014 GB Notification: Performance of Templates: time 0.02962/1.165, allocations: 18.7 MB / 1.312 GB, free: 6.285 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches