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.008713/0.008714, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001973/0.001973, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.714/2.714, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002529/0.002529, allocations: 67.84 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8778/0.8804, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2302/1.111, allocations: 194 MB / 1.356 GB, free: 1.09 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01196/1.123, allocations: 6.936 MB / 1.363 GB, free: 10.14 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002092/1.125, allocations: 47.69 kB / 1.363 GB, free: 10.09 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002222/1.127, allocations: 0.6947 MB / 1.364 GB, free: 9.391 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006126/1.133, allocations: 2.331 MB / 1.366 GB, free: 7.051 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003557/1.137, allocations: 1.431 MB / 1.367 GB, free: 5.641 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004372/1.141, allocations: 3.006 MB / 1.37 GB, free: 2.625 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001682/1.143, allocations: 0.884 MB / 1.371 GB, free: 1.727 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003013/1.146, allocations: 1.131 MB / 1.372 GB, free: 0.5977 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001714/1.148, allocations: 0.8111 MB / 1.373 GB, free: 15.79 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003537/1.148, allocations: 100 kB / 1.373 GB, free: 15.69 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004127/1.152, allocations: 2.054 MB / 1.375 GB, free: 13.63 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005288/1.153, allocations: 362.9 kB / 1.375 GB, free: 13.28 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.00102/1.154, allocations: 0.583 MB / 1.376 GB, free: 12.69 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004676/1.158, allocations: 2.411 MB / 1.378 GB, free: 10.27 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.158, allocations: 0 / 1.378 GB, free: 10.27 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.443e-06/1.158, allocations: 4 kB / 1.378 GB, free: 10.27 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.313e-05/1.159, allocations: 0 / 1.378 GB, free: 10.27 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.004065/1.163, allocations: 1.669 MB / 1.38 GB, free: 8.539 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/1.163, allocations: 8.922 kB / 1.38 GB, free: 8.531 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003/1.166, allocations: 0.5416 MB / 1.38 GB, free: 7.988 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002357/1.168, allocations: 1.042 MB / 1.381 GB, free: 6.898 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.312e-05/1.168, allocations: 61.25 kB / 1.382 GB, free: 6.84 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/1.168, allocations: 68 kB / 1.382 GB, free: 6.773 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002589/1.171, allocations: 1.101 MB / 1.383 GB, free: 5.645 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/1.171, allocations: 7.875 kB / 1.383 GB, free: 5.637 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.49e-05/1.171, allocations: 28 kB / 1.383 GB, free: 5.609 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.012e-05/1.171, allocations: 33.3 kB / 1.383 GB, free: 5.578 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003195/1.174, allocations: 1.157 MB / 1.384 GB, free: 4.422 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.006273/1.181, allocations: 3.167 MB / 1.387 GB, free: 1.176 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/1.182, allocations: 0.6898 MB / 1.388 GB, free: 492 kB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008464/1.183, allocations: 422.1 kB / 1.388 GB, free: 68 kB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/1.184, allocations: 1.029 MB / 1.389 GB, free: 14.82 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/1.186, allocations: 0.5104 MB / 1.39 GB, free: 14.28 MB / 1.123 GB Notification: Performance of pre-optimization done (n=57): time 2.755e-06/1.186, allocations: 0 / 1.39 GB, free: 14.28 MB / 1.123 GB Notification: Performance of matching and sorting (n=57): time 0.003455/1.189, allocations: 1.23 MB / 1.391 GB, free: 13.04 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/1.189, allocations: 136.8 kB / 1.391 GB, free: 12.88 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002646/1.192, allocations: 1.18 MB / 1.392 GB, free: 11.68 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001488/1.192, allocations: 41.64 kB / 1.392 GB, free: 11.63 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004975/1.193, allocations: 445.8 kB / 1.393 GB, free: 11.19 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/1.193, allocations: 202.3 kB / 1.393 GB, free: 10.99 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003349/1.193, allocations: 146.1 kB / 1.393 GB, free: 10.84 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.193, allocations: 330 kB / 1.393 GB, free: 10.52 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/1.195, allocations: 436.9 kB / 1.394 GB, free: 10.09 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/1.196, allocations: 0.5938 MB / 1.394 GB, free: 9.449 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002155/1.198, allocations: 0.934 MB / 1.395 GB, free: 8.461 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/1.198, allocations: 0 / 1.395 GB, free: 8.461 MB / 1.123 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003247/1.202, allocations: 1.198 MB / 1.396 GB, free: 7.246 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.981e-05/1.202, allocations: 37.7 kB / 1.396 GB, free: 7.203 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/1.202, allocations: 8 kB / 1.396 GB, free: 7.195 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/1.202, allocations: 11.98 kB / 1.396 GB, free: 7.184 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009443/1.203, allocations: 191.7 kB / 1.396 GB, free: 6.996 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-05/1.203, allocations: 7.938 kB / 1.396 GB, free: 6.988 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002388/1.205, allocations: 243.1 kB / 1.397 GB, free: 6.75 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/1.205, allocations: 39.97 kB / 1.397 GB, free: 6.711 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.0007995/1.206, allocations: 323.9 kB / 1.397 GB, free: 6.379 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004856/1.207, allocations: 127.2 kB / 1.397 GB, free: 6.254 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00266/1.209, allocations: 0.9919 MB / 1.398 GB, free: 5.258 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/1.209, allocations: 4 kB / 1.398 GB, free: 5.254 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/1.209, allocations: 7.938 kB / 1.398 GB, free: 5.246 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/1.209, allocations: 3.984 kB / 1.398 GB, free: 5.242 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005629/1.215, allocations: 3.158 MB / 1.401 GB, free: 1.926 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.056e-05/1.215, allocations: 12.12 kB / 1.401 GB, free: 1.914 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006686/1.216, allocations: 119.8 kB / 1.401 GB, free: 1.797 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-05/1.216, allocations: 8 kB / 1.401 GB, free: 1.789 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.611e-05/1.216, allocations: 31.92 kB / 1.401 GB, free: 1.758 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.216e-05/1.216, allocations: 11.94 kB / 1.401 GB, free: 1.746 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/1.216, allocations: 15.94 kB / 1.401 GB, free: 1.73 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/1.218, allocations: 1.365 MB / 1.403 GB, free: 260 kB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000706/1.219, allocations: 332 kB / 1.403 GB, free: 15.91 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002785/1.219, allocations: 27.98 kB / 1.403 GB, free: 15.88 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/1.22, allocations: 95.91 kB / 1.403 GB, free: 15.79 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/1.221, allocations: 63.75 kB / 1.403 GB, free: 15.73 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.201e-05/1.221, allocations: 47.91 kB / 1.403 GB, free: 15.68 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001702/1.222, allocations: 0.8482 MB / 1.404 GB, free: 14.82 MB / 1.139 GB Notification: Performance of sort global known variables: time 3.01e-07/1.222, allocations: 0 / 1.404 GB, free: 14.82 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001241/1.224, allocations: 295.7 kB / 1.404 GB, free: 14.54 MB / 1.139 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.000907/1.225, allocations: 344.5 kB / 1.405 GB, free: 14.2 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002641/1.227, allocations: 1.017 MB / 1.406 GB, free: 13.17 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.373e-06/1.227, allocations: 0 / 1.406 GB, free: 13.17 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009807/1.228, allocations: 0.5125 MB / 1.406 GB, free: 12.65 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002814/1.231, allocations: 0.5507 MB / 1.407 GB, free: 12.11 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004282/1.235, allocations: 2.061 MB / 1.409 GB, free: 9.914 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009653/1.236, allocations: 1.069 MB / 1.41 GB, free: 8.809 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001072/1.237, allocations: 272.9 kB / 1.41 GB, free: 8.543 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002768/1.238, allocations: 83.41 kB / 1.41 GB, free: 8.461 MB / 1.139 GB Notification: Performance of SimCode: time 8.82e-07/1.238, allocations: 4 kB / 1.41 GB, free: 8.457 MB / 1.139 GB Notification: Performance of Templates: time 0.03577/1.273, allocations: 22.18 MB / 1.432 GB, free: 2.453 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/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