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.001824/0.001823, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.001964/0.001965, allocations: 191.6 kB / 16.14 MB, free: 6.711 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.531/1.531, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.919/2.919, allocations: 437 MB / 0.7099 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 59.91 kB / 0.8685 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8366/0.8388, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2441/1.083, allocations: 191.6 MB / 1.204 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0131/1.096, allocations: 7.003 MB / 1.211 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00257/1.099, allocations: 43.69 kB / 1.211 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002305/1.101, allocations: 0.5671 MB / 1.211 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007854/1.109, allocations: 2.175 MB / 1.213 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004199/1.113, allocations: 1.289 MB / 1.215 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006702/1.12, allocations: 3.738 MB / 1.218 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002021/1.122, allocations: 0.7854 MB / 1.219 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002926/1.125, allocations: 0.9764 MB / 1.22 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002506/1.127, allocations: 0.8132 MB / 1.221 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001808/1.128, allocations: 48 kB / 1.221 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005191/1.133, allocations: 2.217 MB / 1.223 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005573/1.133, allocations: 330.8 kB / 1.223 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009519/1.134, allocations: 0.5284 MB / 1.224 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004828/1.139, allocations: 2.419 MB / 1.226 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.139, allocations: 0 / 1.226 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/1.139, allocations: 4 kB / 1.226 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.665e-05/1.139, allocations: 0 / 1.226 GB, free: 11.5 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.004019/1.143, allocations: 1.633 MB / 1.228 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/1.143, allocations: 8.031 kB / 1.228 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003189/1.147, allocations: 0.5332 MB / 1.228 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002321/1.149, allocations: 0.9828 MB / 1.229 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001182/1.15, allocations: 277 kB / 1.23 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/1.15, allocations: 72 kB / 1.23 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002952/1.153, allocations: 1.128 MB / 1.231 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/1.153, allocations: 0 / 1.231 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.66e-05/1.153, allocations: 28 kB / 1.231 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.235e-05/1.153, allocations: 33.3 kB / 1.231 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00338/1.157, allocations: 1.2 MB / 1.232 GB, free: 5.469 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.006721/1.164, allocations: 3.205 MB / 1.235 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/1.165, allocations: 0.6926 MB / 1.236 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000835/1.166, allocations: 424.1 kB / 1.236 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/1.167, allocations: 1.029 MB / 1.237 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001197/1.169, allocations: 0.5065 MB / 1.238 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=57): time 3.156e-06/1.169, allocations: 4 kB / 1.238 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=57): time 0.0033/1.172, allocations: 1.228 MB / 1.239 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/1.172, allocations: 148.8 kB / 1.239 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002275/1.174, allocations: 1.192 MB / 1.24 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001179/1.174, allocations: 41.7 kB / 1.24 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005255/1.175, allocations: 441.4 kB / 1.241 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/1.175, allocations: 189.2 kB / 1.241 GB, free: 12 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002962/1.176, allocations: 142.1 kB / 1.241 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001659/1.176, allocations: 334 kB / 1.241 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/1.177, allocations: 452.9 kB / 1.242 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/1.179, allocations: 0.6133 MB / 1.242 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002201/1.181, allocations: 0.9496 MB / 1.243 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.181, allocations: 0 / 1.243 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003592/1.184, allocations: 1.232 MB / 1.244 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.277e-05/1.185, allocations: 37.69 kB / 1.244 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/1.185, allocations: 4 kB / 1.244 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/1.185, allocations: 8 kB / 1.244 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/1.186, allocations: 203.9 kB / 1.245 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.719e-05/1.186, allocations: 11.98 kB / 1.245 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/1.187, allocations: 270.9 kB / 1.245 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.847e-05/1.188, allocations: 35.98 kB / 1.245 GB, free: 7.59 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.0006657/1.188, allocations: 331.2 kB / 1.245 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002485/1.188, allocations: 118.6 kB / 1.245 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002308/1.191, allocations: 0.9925 MB / 1.246 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/1.191, allocations: 11.94 kB / 1.246 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/1.191, allocations: 0 / 1.246 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.465e-06/1.191, allocations: 3.984 kB / 1.246 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005462/1.196, allocations: 3.166 MB / 1.249 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/1.196, allocations: 4 kB / 1.249 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006235/1.197, allocations: 124 kB / 1.25 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-05/1.197, allocations: 12.52 kB / 1.25 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.506e-05/1.197, allocations: 23.98 kB / 1.25 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.907e-05/1.197, allocations: 15.94 kB / 1.25 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.074e-05/1.197, allocations: 11.94 kB / 1.25 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00285/1.2, allocations: 1.345 MB / 1.251 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006705/1.201, allocations: 331.3 kB / 1.251 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/1.201, allocations: 23.98 kB / 1.251 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/1.202, allocations: 107.9 kB / 1.251 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/1.202, allocations: 63.75 kB / 1.251 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.162e-05/1.202, allocations: 43.97 kB / 1.251 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.6901/1.892, allocations: 0.8629 MB / 1.252 GB, free: 233.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.01e-07/1.892, allocations: 0.6562 kB / 1.252 GB, free: 233.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001834/1.894, allocations: 295.4 kB / 1.253 GB, free: 233.1 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.001062/1.895, allocations: 346.3 kB / 1.253 GB, free: 233 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003118/1.899, allocations: 1.017 MB / 1.254 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/1.899, allocations: 1.625 kB / 1.254 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001293/1.9, allocations: 0.5143 MB / 1.254 GB, free: 232.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004175/1.904, allocations: 0.5378 MB / 1.255 GB, free: 232.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005146/1.909, allocations: 2.34 MB / 1.257 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/1.91, allocations: 1.068 MB / 1.258 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001699/1.912, allocations: 276.5 kB / 1.259 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003038/1.912, allocations: 81.55 kB / 1.259 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.032e-06/1.912, allocations: 4.891 kB / 1.259 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.03668/1.949, allocations: 21.25 MB / 1.279 GB, free: 223.6 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