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.001456/0.001456, allocations: 112.6 kB / 16.41 MB, free: 6.512 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.001289/0.001289, allocations: 185.2 kB / 17.34 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.492/1.492, allocations: 222.9 MB / 241 MB, free: 15.09 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.715/2.715, allocations: 437.1 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002565/0.002566, allocations: 71.88 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9993/1.002, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2883/1.29, allocations: 194 MB / 1.357 GB, free: 1.09 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01296/1.303, allocations: 6.943 MB / 1.364 GB, free: 10.13 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002752/1.306, allocations: 43.75 kB / 1.364 GB, free: 10.09 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003182/1.309, allocations: 0.7181 MB / 1.364 GB, free: 9.367 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00949/1.319, allocations: 2.435 MB / 1.367 GB, free: 6.922 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004363/1.323, allocations: 1.435 MB / 1.368 GB, free: 5.508 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.005543/1.329, allocations: 3.017 MB / 1.371 GB, free: 2.48 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001746/1.331, allocations: 0.884 MB / 1.372 GB, free: 1.582 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003746/1.334, allocations: 1.151 MB / 1.373 GB, free: 444 kB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002783/1.337, allocations: 0.8024 MB / 1.374 GB, free: 15.63 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003697/1.338, allocations: 100 kB / 1.374 GB, free: 15.53 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006421/1.344, allocations: 2.066 MB / 1.376 GB, free: 13.46 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0008559/1.345, allocations: 366.8 kB / 1.376 GB, free: 13.11 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001126/1.346, allocations: 0.5831 MB / 1.377 GB, free: 12.52 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005488/1.352, allocations: 2.402 MB / 1.379 GB, free: 10.11 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.352, allocations: 4 kB / 1.379 GB, free: 10.11 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.004e-06/1.352, allocations: 0 / 1.379 GB, free: 10.11 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.2e-05/1.352, allocations: 0 / 1.379 GB, free: 10.11 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.004025/1.356, allocations: 1.677 MB / 1.381 GB, free: 8.367 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/1.356, allocations: 12.92 kB / 1.381 GB, free: 8.355 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003047/1.359, allocations: 0.5416 MB / 1.381 GB, free: 7.812 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002586/1.361, allocations: 1.042 MB / 1.382 GB, free: 6.723 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.573e-05/1.361, allocations: 53.25 kB / 1.382 GB, free: 6.672 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/1.362, allocations: 68 kB / 1.382 GB, free: 6.605 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002623/1.364, allocations: 1.113 MB / 1.384 GB, free: 5.465 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/1.364, allocations: 3.938 kB / 1.384 GB, free: 5.461 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.45e-05/1.364, allocations: 24 kB / 1.384 GB, free: 5.438 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.878e-05/1.364, allocations: 37.25 kB / 1.384 GB, free: 5.402 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003177/1.368, allocations: 1.161 MB / 1.385 GB, free: 4.242 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.006402/1.374, allocations: 3.16 MB / 1.388 GB, free: 1.004 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/1.376, allocations: 0.6871 MB / 1.389 GB, free: 320 kB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008756/1.377, allocations: 422.1 kB / 1.389 GB, free: 15.89 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001087/1.378, allocations: 1.029 MB / 1.39 GB, free: 14.65 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/1.379, allocations: 0.5104 MB / 1.39 GB, free: 14.11 MB / 1.123 GB Notification: Performance of pre-optimization done (n=57): time 2.765e-06/1.379, allocations: 0 / 1.39 GB, free: 14.11 MB / 1.123 GB Notification: Performance of matching and sorting (n=57): time 0.003361/1.382, allocations: 1.229 MB / 1.392 GB, free: 12.87 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/1.382, allocations: 148.8 kB / 1.392 GB, free: 12.7 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/1.385, allocations: 1.176 MB / 1.393 GB, free: 11.5 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001208/1.385, allocations: 37.7 kB / 1.393 GB, free: 11.46 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004672/1.385, allocations: 441.8 kB / 1.393 GB, free: 11.02 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/1.386, allocations: 198.3 kB / 1.394 GB, free: 10.83 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003193/1.386, allocations: 150.1 kB / 1.394 GB, free: 10.68 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001759/1.386, allocations: 330 kB / 1.394 GB, free: 10.35 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/1.387, allocations: 440.9 kB / 1.394 GB, free: 9.914 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/1.389, allocations: 0.5976 MB / 1.395 GB, free: 9.273 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002181/1.391, allocations: 0.9262 MB / 1.396 GB, free: 8.289 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.391, allocations: 0 / 1.396 GB, free: 8.289 MB / 1.123 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00336/1.394, allocations: 1.206 MB / 1.397 GB, free: 7.07 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 6.087e-05/1.395, allocations: 41.69 kB / 1.397 GB, free: 7.023 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/1.395, allocations: 8 kB / 1.397 GB, free: 7.016 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/1.395, allocations: 4 kB / 1.397 GB, free: 7.012 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009242/1.395, allocations: 187.8 kB / 1.397 GB, free: 6.828 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/1.396, allocations: 7.938 kB / 1.397 GB, free: 6.82 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/1.397, allocations: 247.1 kB / 1.398 GB, free: 6.578 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/1.397, allocations: 35.98 kB / 1.398 GB, free: 6.543 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.0006281/1.398, allocations: 331.9 kB / 1.398 GB, free: 6.203 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/1.398, allocations: 123.2 kB / 1.398 GB, free: 6.082 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002332/1.4, allocations: 0.994 MB / 1.399 GB, free: 5.086 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/1.4, allocations: 8 kB / 1.399 GB, free: 5.078 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/1.401, allocations: 3.938 kB / 1.399 GB, free: 5.074 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/1.401, allocations: 3.984 kB / 1.399 GB, free: 5.07 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005437/1.406, allocations: 3.166 MB / 1.402 GB, free: 1.746 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/1.406, allocations: 8.031 kB / 1.402 GB, free: 1.738 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005906/1.407, allocations: 123.8 kB / 1.402 GB, free: 1.617 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.607e-05/1.407, allocations: 12 kB / 1.402 GB, free: 1.605 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.14e-05/1.407, allocations: 16 kB / 1.402 GB, free: 1.59 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.799e-05/1.407, allocations: 19.92 kB / 1.402 GB, free: 1.57 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.221e-05/1.407, allocations: 15.94 kB / 1.402 GB, free: 1.555 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00254/1.409, allocations: 1.349 MB / 1.404 GB, free: 96 kB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006843/1.41, allocations: 344 kB / 1.404 GB, free: 15.74 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/1.41, allocations: 20 kB / 1.404 GB, free: 15.72 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/1.411, allocations: 103.8 kB / 1.404 GB, free: 15.62 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/1.411, allocations: 59.77 kB / 1.404 GB, free: 15.56 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.096e-05/1.411, allocations: 39.97 kB / 1.404 GB, free: 15.52 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001665/1.413, allocations: 0.8482 MB / 1.405 GB, free: 14.66 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.7e-07/1.413, allocations: 0 / 1.405 GB, free: 14.66 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001216/1.414, allocations: 299.7 kB / 1.405 GB, free: 14.37 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.0008559/1.415, allocations: 353.4 kB / 1.406 GB, free: 14.03 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002612/1.418, allocations: 1.017 MB / 1.407 GB, free: 12.99 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.418, allocations: 0 / 1.407 GB, free: 12.99 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/1.419, allocations: 0.5164 MB / 1.407 GB, free: 12.46 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002861/1.422, allocations: 0.5497 MB / 1.408 GB, free: 11.93 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/1.426, allocations: 2.054 MB / 1.41 GB, free: 9.742 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008688/1.427, allocations: 1.069 MB / 1.411 GB, free: 8.637 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001138/1.428, allocations: 269.7 kB / 1.411 GB, free: 8.371 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/1.428, allocations: 87.34 kB / 1.411 GB, free: 8.285 MB / 1.139 GB Notification: Performance of SimCode: time 1.092e-06/1.428, allocations: 0 / 1.411 GB, free: 8.285 MB / 1.139 GB Notification: Performance of Templates: time 0.04241/1.471, allocations: 22.26 MB / 1.433 GB, free: 2.207 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches