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.001557/0.001557, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001808/0.001808, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.449/2.449, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 64.12 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6726/0.6739, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1843/0.8583, allocations: 194 MB / 1.357 GB, free: 1.09 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009462/0.8678, allocations: 6.924 MB / 1.364 GB, free: 10.15 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007853/0.8686, allocations: 47.69 kB / 1.364 GB, free: 10.1 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00142/0.8701, allocations: 0.7026 MB / 1.364 GB, free: 9.395 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004605/0.8747, allocations: 2.452 MB / 1.367 GB, free: 6.934 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00283/0.8776, allocations: 1.433 MB / 1.368 GB, free: 5.52 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002918/0.8805, allocations: 3.006 MB / 1.371 GB, free: 2.504 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/0.8815, allocations: 0.8801 MB / 1.372 GB, free: 1.609 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001945/0.8835, allocations: 1.163 MB / 1.373 GB, free: 460 kB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.8845, allocations: 0.8033 MB / 1.374 GB, free: 15.64 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.8847, allocations: 103.9 kB / 1.374 GB, free: 15.54 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003198/0.8879, allocations: 2.066 MB / 1.376 GB, free: 13.48 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003173/0.8882, allocations: 358.9 kB / 1.376 GB, free: 13.12 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005267/0.8887, allocations: 0.5908 MB / 1.377 GB, free: 12.53 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002592/0.8913, allocations: 2.394 MB / 1.379 GB, free: 10.13 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.8913, allocations: 0 / 1.379 GB, free: 10.13 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.273e-06/0.8914, allocations: 4 kB / 1.379 GB, free: 10.13 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.8914, allocations: 0 / 1.379 GB, free: 10.13 MB / 1.107 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.003145/0.8945, allocations: 1.621 MB / 1.381 GB, free: 8.449 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.8946, allocations: 8.922 kB / 1.381 GB, free: 8.441 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003033/0.8976, allocations: 0.537 MB / 1.381 GB, free: 7.902 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002182/0.8998, allocations: 1.034 MB / 1.382 GB, free: 6.82 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.689e-05/0.8999, allocations: 57.31 kB / 1.382 GB, free: 6.766 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.9, allocations: 68 kB / 1.382 GB, free: 6.699 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002356/0.9024, allocations: 1.105 MB / 1.383 GB, free: 5.566 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.9024, allocations: 11.88 kB / 1.383 GB, free: 5.555 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.364e-05/0.9025, allocations: 27.98 kB / 1.384 GB, free: 5.527 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.855e-05/0.9025, allocations: 37.3 kB / 1.384 GB, free: 5.492 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003073/0.9056, allocations: 1.164 MB / 1.385 GB, free: 4.328 MB / 1.107 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.005272/0.9109, allocations: 3.162 MB / 1.388 GB, free: 1.086 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.9126, allocations: 0.688 MB / 1.388 GB, free: 400 kB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008146/0.9134, allocations: 422 kB / 1.389 GB, free: 15.98 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008088/0.9143, allocations: 1.025 MB / 1.39 GB, free: 14.73 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009852/0.9153, allocations: 0.5104 MB / 1.39 GB, free: 14.19 MB / 1.123 GB Notification: Performance of pre-optimization done (n=57): time 2.275e-06/0.9153, allocations: 0 / 1.39 GB, free: 14.19 MB / 1.123 GB Notification: Performance of matching and sorting (n=57): time 0.00289/0.9182, allocations: 1.221 MB / 1.392 GB, free: 12.96 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.9182, allocations: 140.9 kB / 1.392 GB, free: 12.79 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/0.92, allocations: 1.188 MB / 1.393 GB, free: 11.59 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.03e-05/0.9201, allocations: 37.7 kB / 1.393 GB, free: 11.55 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003739/0.9204, allocations: 429.5 kB / 1.393 GB, free: 11.12 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.9206, allocations: 197.2 kB / 1.393 GB, free: 10.93 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002828/0.9209, allocations: 146.1 kB / 1.394 GB, free: 10.78 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.921, allocations: 326 kB / 1.394 GB, free: 10.45 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.9223, allocations: 444.9 kB / 1.394 GB, free: 10.02 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/0.9237, allocations: 0.5898 MB / 1.395 GB, free: 9.383 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002079/0.9258, allocations: 0.9301 MB / 1.396 GB, free: 8.398 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.9258, allocations: 0 / 1.396 GB, free: 8.398 MB / 1.123 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003037/0.9289, allocations: 1.198 MB / 1.397 GB, free: 7.184 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.975e-05/0.9289, allocations: 41.75 kB / 1.397 GB, free: 7.137 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.9289, allocations: 7.984 kB / 1.397 GB, free: 7.129 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.9289, allocations: 8 kB / 1.397 GB, free: 7.121 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000948/0.9299, allocations: 191.7 kB / 1.397 GB, free: 6.934 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.9299, allocations: 11.88 kB / 1.397 GB, free: 6.922 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.9314, allocations: 238.9 kB / 1.397 GB, free: 6.688 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.569e-05/0.9315, allocations: 31.98 kB / 1.398 GB, free: 6.656 MB / 1.123 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.0004447/0.9319, allocations: 335.8 kB / 1.398 GB, free: 6.312 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/0.9321, allocations: 118.6 kB / 1.398 GB, free: 6.195 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002113/0.9342, allocations: 0.9879 MB / 1.399 GB, free: 5.203 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.9343, allocations: 3.984 kB / 1.399 GB, free: 5.199 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.9343, allocations: 0 / 1.399 GB, free: 5.199 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004945/0.9348, allocations: 327.2 kB / 1.399 GB, free: 4.859 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.9349, allocations: 16 kB / 1.399 GB, free: 4.844 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000996/0.9359, allocations: 95.91 kB / 1.399 GB, free: 4.75 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-05/0.936, allocations: 32.39 kB / 1.399 GB, free: 4.719 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002267/0.9383, allocations: 1.208 MB / 1.401 GB, free: 3.488 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001999/0.9403, allocations: 1.287 MB / 1.402 GB, free: 2.172 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008135/0.9412, allocations: 415.4 kB / 1.402 GB, free: 1.762 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001402/0.9426, allocations: 0.8443 MB / 1.403 GB, free: 0.9102 MB / 1.123 GB Notification: Performance of Backend: time 3.51e-07/0.9426, allocations: 0 / 1.403 GB, free: 0.9102 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003369/0.9459, allocations: 1.198 MB / 1.404 GB, free: 15.71 MB / 1.139 GB Notification: Performance of SimCode: time 0.003631/0.9496, allocations: 2.35 MB / 1.406 GB, free: 13.3 MB / 1.139 GB Notification: Performance of Templates: time 0.03857/0.9882, allocations: 26.75 MB / 1.433 GB, free: 2.727 MB / 1.154 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches