Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001536/0.001536, allocations: 109.8 kB / 16.42 MB, free: 6.453 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.001709/0.00171, allocations: 185.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.312/1.312, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.144/2.144, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 59.91 kB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6739/0.6751, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2043/0.8795, allocations: 194 MB / 1.278 GB, free: 11.61 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01042/0.8899, allocations: 6.94 MB / 1.285 GB, free: 4.656 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0014/0.8913, allocations: 47.69 kB / 1.285 GB, free: 4.609 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001842/0.8932, allocations: 0.7026 MB / 1.286 GB, free: 3.902 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005541/0.8988, allocations: 2.435 MB / 1.288 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003159/0.902, allocations: 1.446 MB / 1.289 GB, free: 32 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004557/0.9065, allocations: 2.99 MB / 1.292 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001584/0.9081, allocations: 0.8918 MB / 1.293 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002514/0.9107, allocations: 1.165 MB / 1.294 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.9121, allocations: 0.8007 MB / 1.295 GB, free: 10.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002724/0.9124, allocations: 100 kB / 1.295 GB, free: 10.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00353/0.9159, allocations: 2.07 MB / 1.297 GB, free: 7.992 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004518/0.9164, allocations: 358.9 kB / 1.298 GB, free: 7.641 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0007972/0.9172, allocations: 0.5947 MB / 1.298 GB, free: 7.043 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003388/0.9206, allocations: 2.39 MB / 1.3 GB, free: 4.648 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.9206, allocations: 0 / 1.3 GB, free: 4.648 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9206, allocations: 0 / 1.3 GB, free: 4.648 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.048e-05/0.9206, allocations: 0 / 1.3 GB, free: 4.648 MB / 1.029 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.003717/0.9244, allocations: 1.629 MB / 1.302 GB, free: 2.961 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.9244, allocations: 8.031 kB / 1.302 GB, free: 2.953 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003023/0.9274, allocations: 0.537 MB / 1.303 GB, free: 2.414 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/0.9297, allocations: 1.034 MB / 1.304 GB, free: 1.336 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.022e-05/0.9298, allocations: 57.31 kB / 1.304 GB, free: 1.281 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.9299, allocations: 68 kB / 1.304 GB, free: 1.215 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002423/0.9324, allocations: 1.105 MB / 1.305 GB, free: 84 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.9324, allocations: 7.922 kB / 1.305 GB, free: 76 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.564e-05/0.9325, allocations: 28 kB / 1.305 GB, free: 48 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/0.9325, allocations: 29.31 kB / 1.305 GB, free: 20 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00319/0.9357, allocations: 1.164 MB / 1.306 GB, free: 14.85 MB / 1.045 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.005689/0.9414, allocations: 3.178 MB / 1.309 GB, free: 11.59 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/0.9432, allocations: 0.6824 MB / 1.31 GB, free: 10.91 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008421/0.9441, allocations: 423.8 kB / 1.31 GB, free: 10.49 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008712/0.9449, allocations: 1.025 MB / 1.311 GB, free: 9.246 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009901/0.9459, allocations: 0.5104 MB / 1.312 GB, free: 8.699 MB / 1.045 GB Notification: Performance of pre-optimization done (n=57): time 2.614e-06/0.946, allocations: 4 kB / 1.312 GB, free: 8.695 MB / 1.045 GB Notification: Performance of matching and sorting (n=57): time 0.002954/0.9489, allocations: 1.221 MB / 1.313 GB, free: 7.469 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.511e-05/0.949, allocations: 136.9 kB / 1.313 GB, free: 7.305 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/0.9509, allocations: 1.18 MB / 1.314 GB, free: 6.109 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.653e-05/0.951, allocations: 41.7 kB / 1.314 GB, free: 6.062 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003829/0.9514, allocations: 441.4 kB / 1.315 GB, free: 5.629 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.9516, allocations: 189.2 kB / 1.315 GB, free: 5.441 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002793/0.9519, allocations: 146 kB / 1.315 GB, free: 5.293 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.9521, allocations: 338 kB / 1.315 GB, free: 4.957 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/0.9534, allocations: 432.9 kB / 1.316 GB, free: 4.531 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/0.9548, allocations: 0.5976 MB / 1.316 GB, free: 3.887 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/0.9569, allocations: 0.9262 MB / 1.317 GB, free: 2.902 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.957, allocations: 4 kB / 1.317 GB, free: 2.898 MB / 1.045 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003095/0.9601, allocations: 1.198 MB / 1.318 GB, free: 1.688 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/0.9601, allocations: 37.69 kB / 1.318 GB, free: 1.645 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.9601, allocations: 4 kB / 1.318 GB, free: 1.641 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.9602, allocations: 4 kB / 1.318 GB, free: 1.637 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000974/0.9611, allocations: 188 kB / 1.319 GB, free: 1.453 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/0.9612, allocations: 15.88 kB / 1.319 GB, free: 1.438 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.9626, allocations: 246.8 kB / 1.319 GB, free: 1.195 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.212e-05/0.9627, allocations: 35.98 kB / 1.319 GB, free: 1.16 MB / 1.045 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.0004367/0.9632, allocations: 327.3 kB / 1.319 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.9634, allocations: 118.7 kB / 1.319 GB, free: 0.707 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002174/0.9656, allocations: 0.9927 MB / 1.32 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.9656, allocations: 0 / 1.32 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.9656, allocations: 0 / 1.32 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005174/0.9661, allocations: 331.3 kB / 1.321 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/0.9663, allocations: 12 kB / 1.321 GB, free: 15.35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.9673, allocations: 95.91 kB / 1.321 GB, free: 15.26 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.452e-05/0.9674, allocations: 32.39 kB / 1.321 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002311/0.9697, allocations: 1.212 MB / 1.322 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002065/0.9718, allocations: 1.291 MB / 1.323 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008238/0.9727, allocations: 415.4 kB / 1.324 GB, free: 12.26 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001476/0.9741, allocations: 0.8482 MB / 1.324 GB, free: 11.4 MB / 1.061 GB Notification: Performance of Backend: time 3.6e-07/0.9742, allocations: 0 / 1.324 GB, free: 11.4 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003399/0.9776, allocations: 1.199 MB / 1.326 GB, free: 10.2 MB / 1.061 GB Notification: Performance of SimCode: time 0.003695/0.9813, allocations: 2.337 MB / 1.328 GB, free: 7.809 MB / 1.061 GB Notification: Performance of Templates: time 0.0397/1.021, allocations: 26.73 MB / 1.354 GB, free: 13.3 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches