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.001502/0.001502, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001565/0.001566, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.15 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.265/2.265, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 63.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8631/0.8646, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2515/1.116, allocations: 194 MB / 1.278 GB, free: 11.65 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01268/1.129, allocations: 6.932 MB / 1.285 GB, free: 4.703 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002201/1.131, allocations: 47.69 kB / 1.285 GB, free: 4.656 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002492/1.134, allocations: 0.7026 MB / 1.286 GB, free: 3.949 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00757/1.141, allocations: 2.439 MB / 1.288 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003872/1.145, allocations: 1.431 MB / 1.289 GB, free: 88 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005003/1.15, allocations: 3.002 MB / 1.292 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001799/1.152, allocations: 0.8801 MB / 1.293 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003347/1.155, allocations: 1.171 MB / 1.294 GB, free: 11.01 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001844/1.157, allocations: 0.7901 MB / 1.295 GB, free: 10.22 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003817/1.158, allocations: 100 kB / 1.295 GB, free: 10.12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004453/1.162, allocations: 2.07 MB / 1.297 GB, free: 8.051 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006218/1.163, allocations: 362.9 kB / 1.298 GB, free: 7.695 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001191/1.164, allocations: 0.5946 MB / 1.298 GB, free: 7.098 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004936/1.169, allocations: 2.39 MB / 1.3 GB, free: 4.703 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/1.169, allocations: 4 kB / 1.3 GB, free: 4.699 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.214e-06/1.169, allocations: 0 / 1.3 GB, free: 4.699 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.918e-05/1.169, allocations: 3.984 kB / 1.3 GB, free: 4.695 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.004529/1.174, allocations: 1.626 MB / 1.302 GB, free: 3.012 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/1.174, allocations: 8.031 kB / 1.302 GB, free: 3.004 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003039/1.177, allocations: 0.537 MB / 1.303 GB, free: 2.465 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/1.179, allocations: 1.038 MB / 1.304 GB, free: 1.383 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.886e-05/1.179, allocations: 53.31 kB / 1.304 GB, free: 1.332 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/1.179, allocations: 72 kB / 1.304 GB, free: 1.262 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002479/1.182, allocations: 1.105 MB / 1.305 GB, free: 132 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/1.182, allocations: 3.938 kB / 1.305 GB, free: 128 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.517e-05/1.182, allocations: 28 kB / 1.305 GB, free: 100 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-05/1.182, allocations: 33.3 kB / 1.305 GB, free: 68 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003034/1.185, allocations: 1.16 MB / 1.306 GB, free: 14.9 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.005839/1.191, allocations: 3.17 MB / 1.309 GB, free: 11.65 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/1.193, allocations: 0.688 MB / 1.31 GB, free: 10.96 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007719/1.193, allocations: 422.2 kB / 1.31 GB, free: 10.54 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008869/1.194, allocations: 1.025 MB / 1.311 GB, free: 9.297 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/1.195, allocations: 0.5104 MB / 1.312 GB, free: 8.75 MB / 1.045 GB Notification: Performance of pre-optimization done (n=57): time 3.457e-06/1.195, allocations: 0 / 1.312 GB, free: 8.75 MB / 1.045 GB Notification: Performance of matching and sorting (n=57): time 0.003108/1.199, allocations: 1.228 MB / 1.313 GB, free: 7.516 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.11e-05/1.199, allocations: 140.8 kB / 1.313 GB, free: 7.348 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002006/1.201, allocations: 1.176 MB / 1.314 GB, free: 6.156 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/1.201, allocations: 37.7 kB / 1.314 GB, free: 6.113 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003817/1.201, allocations: 437.4 kB / 1.315 GB, free: 5.684 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/1.201, allocations: 197.2 kB / 1.315 GB, free: 5.488 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002647/1.202, allocations: 142.1 kB / 1.315 GB, free: 5.344 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001597/1.202, allocations: 330 kB / 1.315 GB, free: 5.016 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/1.203, allocations: 440.9 kB / 1.316 GB, free: 4.582 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/1.204, allocations: 0.6015 MB / 1.316 GB, free: 3.934 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00207/1.207, allocations: 0.9184 MB / 1.317 GB, free: 2.957 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/1.207, allocations: 0 / 1.317 GB, free: 2.957 MB / 1.045 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003264/1.21, allocations: 1.201 MB / 1.318 GB, free: 1.742 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.524e-05/1.21, allocations: 37.7 kB / 1.318 GB, free: 1.699 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/1.21, allocations: 4 kB / 1.318 GB, free: 1.695 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/1.21, allocations: 8 kB / 1.318 GB, free: 1.688 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009245/1.211, allocations: 187.9 kB / 1.319 GB, free: 1.504 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/1.211, allocations: 15.88 kB / 1.319 GB, free: 1.488 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/1.213, allocations: 246.4 kB / 1.319 GB, free: 1.25 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-05/1.213, allocations: 43.97 kB / 1.319 GB, free: 1.207 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.0006265/1.213, allocations: 325.5 kB / 1.319 GB, free: 0.875 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/1.213, allocations: 114.7 kB / 1.319 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002164/1.216, allocations: 0.9887 MB / 1.32 GB, free: 15.76 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/1.216, allocations: 8.5 kB / 1.32 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/1.216, allocations: 3.938 kB / 1.32 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/1.216, allocations: 4 kB / 1.32 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004816/1.221, allocations: 3.154 MB / 1.323 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/1.221, allocations: 15.92 kB / 1.323 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000586/1.221, allocations: 119.8 kB / 1.323 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.628e-05/1.221, allocations: 8 kB / 1.323 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.293e-05/1.221, allocations: 32.14 kB / 1.323 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.055e-05/1.221, allocations: 8 kB / 1.323 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.808e-06/1.221, allocations: 11.94 kB / 1.323 GB, free: 12.24 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002259/1.224, allocations: 1.353 MB / 1.325 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00059/1.224, allocations: 327.3 kB / 1.325 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/1.224, allocations: 27.98 kB / 1.325 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/1.225, allocations: 95.91 kB / 1.325 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/1.226, allocations: 67.56 kB / 1.325 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.483e-05/1.226, allocations: 43.97 kB / 1.325 GB, free: 10.2 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001515/1.227, allocations: 0.8482 MB / 1.326 GB, free: 9.348 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.6e-07/1.227, allocations: 0 / 1.326 GB, free: 9.348 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001157/1.228, allocations: 311.8 kB / 1.326 GB, free: 9.043 MB / 1.061 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.0008489/1.229, allocations: 342 kB / 1.327 GB, free: 8.715 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002474/1.232, allocations: 1.019 MB / 1.328 GB, free: 7.688 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/1.232, allocations: 0 / 1.328 GB, free: 7.688 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0009932/1.233, allocations: 0.5125 MB / 1.328 GB, free: 7.164 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002874/1.236, allocations: 0.5497 MB / 1.329 GB, free: 6.629 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003726/1.239, allocations: 2.069 MB / 1.331 GB, free: 4.426 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006839/1.24, allocations: 1.069 MB / 1.332 GB, free: 3.324 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003559/1.24, allocations: 87.41 kB / 1.332 GB, free: 3.238 MB / 1.061 GB Notification: Performance of SimCode: time 1.322e-06/1.24, allocations: 0 / 1.332 GB, free: 3.238 MB / 1.061 GB Notification: Performance of Templates: time 0.02805/1.268, allocations: 18.8 MB / 1.35 GB, free: 0.5547 MB / 1.076 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