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.001514/0.001514, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001519/0.001519, allocations: 193.3 kB / 16.25 MB, free: 6.637 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.501/1.501, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.764/2.764, allocations: 437 MB / 0.7101 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 67.89 kB / 0.8687 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8035/0.8057, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.3221/1.128, allocations: 191.5 MB / 1.204 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01291/1.141, allocations: 6.892 MB / 1.211 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002249/1.143, allocations: 39.69 kB / 1.211 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002099/1.145, allocations: 0.5984 MB / 1.211 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007201/1.152, allocations: 2.199 MB / 1.213 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004071/1.157, allocations: 1.312 MB / 1.215 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004971/1.162, allocations: 3.001 MB / 1.218 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001707/1.163, allocations: 0.9112 MB / 1.218 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003415/1.167, allocations: 1.142 MB / 1.22 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001887/1.169, allocations: 0.8518 MB / 1.22 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001846/1.169, allocations: 96 kB / 1.22 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004633/1.173, allocations: 2.143 MB / 1.223 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005318/1.174, allocations: 366.9 kB / 1.223 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001297/1.175, allocations: 0.5869 MB / 1.223 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005714/1.181, allocations: 2.466 MB / 1.226 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.181, allocations: 0 / 1.226 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.027e-06/1.181, allocations: 7.984 kB / 1.226 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.973e-05/1.181, allocations: 0 / 1.226 GB, free: 11.9 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.005047/1.186, allocations: 1.625 MB / 1.227 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/1.186, allocations: 12.03 kB / 1.227 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003211/1.189, allocations: 0.5293 MB / 1.228 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002747/1.192, allocations: 0.9906 MB / 1.229 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001157/1.193, allocations: 281 kB / 1.229 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002287/1.194, allocations: 64 kB / 1.229 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003238/1.197, allocations: 1.128 MB / 1.23 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/1.197, allocations: 0 / 1.23 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/1.197, allocations: 28 kB / 1.23 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.793e-05/1.197, allocations: 33.31 kB / 1.23 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00377/1.201, allocations: 1.2 MB / 1.232 GB, free: 5.883 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.008186/1.209, allocations: 3.221 MB / 1.235 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/1.211, allocations: 0.6841 MB / 1.235 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008775/1.212, allocations: 432.1 kB / 1.236 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/1.213, allocations: 1.021 MB / 1.237 GB, free: 228 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0012/1.214, allocations: 0.5066 MB / 1.237 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=57): time 6.562e-06/1.214, allocations: 4 kB / 1.237 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=57): time 0.003419/1.218, allocations: 1.229 MB / 1.239 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/1.218, allocations: 144.8 kB / 1.239 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002682/1.221, allocations: 1.204 MB / 1.24 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001378/1.221, allocations: 37.7 kB / 1.24 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004584/1.221, allocations: 433.4 kB / 1.24 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/1.221, allocations: 189.2 kB / 1.24 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003426/1.222, allocations: 146.1 kB / 1.241 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.222, allocations: 330 kB / 1.241 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/1.223, allocations: 456.9 kB / 1.241 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/1.225, allocations: 0.6132 MB / 1.242 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002232/1.227, allocations: 0.9496 MB / 1.243 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/1.227, allocations: 0 / 1.243 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003571/1.231, allocations: 1.232 MB / 1.244 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.173e-05/1.231, allocations: 41.69 kB / 1.244 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/1.231, allocations: 8.281 kB / 1.244 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/1.231, allocations: 4 kB / 1.244 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009591/1.232, allocations: 199.7 kB / 1.244 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.704e-05/1.232, allocations: 8 kB / 1.244 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/1.234, allocations: 270.9 kB / 1.245 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/1.234, allocations: 39.91 kB / 1.245 GB, free: 7.988 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.000916/1.235, allocations: 333.3 kB / 1.245 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005267/1.236, allocations: 118.6 kB / 1.245 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002868/1.238, allocations: 0.992 MB / 1.246 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-05/1.238, allocations: 15.92 kB / 1.246 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/1.238, allocations: 0 / 1.246 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/1.239, allocations: 0 / 1.246 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006677/1.245, allocations: 3.162 MB / 1.249 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.299e-05/1.245, allocations: 12.03 kB / 1.249 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006265/1.246, allocations: 115.8 kB / 1.249 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.61e-05/1.246, allocations: 12 kB / 1.249 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/1.246, allocations: 23.98 kB / 1.249 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.629e-05/1.246, allocations: 15.94 kB / 1.249 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/1.246, allocations: 12 kB / 1.249 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002517/1.249, allocations: 1.341 MB / 1.251 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007374/1.249, allocations: 335.3 kB / 1.251 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002877/1.25, allocations: 27.98 kB / 1.251 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/1.251, allocations: 103.9 kB / 1.251 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/1.251, allocations: 67.88 kB / 1.251 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/1.251, allocations: 39.97 kB / 1.251 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001978/1.253, allocations: 0.8677 MB / 1.252 GB, free: 100 kB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/1.253, allocations: 4 kB / 1.252 GB, free: 96 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.635/1.888, allocations: 288.8 kB / 1.252 GB, free: 233.4 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.000827/1.889, allocations: 339.2 kB / 1.253 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002723/1.892, allocations: 1.051 MB / 1.254 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.892, allocations: 1.469 kB / 1.254 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/1.893, allocations: 0.5139 MB / 1.254 GB, free: 233.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00293/1.896, allocations: 0.5612 MB / 1.255 GB, free: 233 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/1.9, allocations: 2.337 MB / 1.257 GB, free: 231.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007692/1.901, allocations: 1.076 MB / 1.258 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001362/1.902, allocations: 275 kB / 1.258 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/1.902, allocations: 82.39 kB / 1.258 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/1.902, allocations: 3.625 kB / 1.258 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.04581/1.948, allocations: 21.95 MB / 1.28 GB, free: 223.7 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=400 -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