Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 103.7 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 212.9 kB / 19.43 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.555/1.555, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.342/3.342, allocations: 0.49 GB / 0.7916 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 73.81 kB / 1.149 GB, free: 26.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4682/0.4703, allocations: 176.1 MB / 1.321 GB, free: 2.801 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2674/0.7377, allocations: 197.8 MB / 1.514 GB, free: 12.3 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01374/0.7515, allocations: 6.961 MB / 1.521 GB, free: 5.324 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00232/0.7538, allocations: 59.44 kB / 1.521 GB, free: 5.266 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002633/0.7564, allocations: 0.7181 MB / 1.522 GB, free: 4.543 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.007719/0.7641, allocations: 2.435 MB / 1.524 GB, free: 2.098 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00446/0.7686, allocations: 1.427 MB / 1.526 GB, free: 0.6914 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.005605/0.7742, allocations: 2.97 MB / 1.529 GB, free: 13.71 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001861/0.7761, allocations: 0.7434 MB / 1.529 GB, free: 12.96 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005217/0.7813, allocations: 1.608 MB / 1.531 GB, free: 11.35 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002396/0.7837, allocations: 0.8347 MB / 1.532 GB, free: 10.52 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0004975/0.7842, allocations: 100 kB / 1.532 GB, free: 10.42 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005432/0.7896, allocations: 2.136 MB / 1.534 GB, free: 8.277 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0008886/0.7905, allocations: 374.7 kB / 1.534 GB, free: 7.91 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001603/0.7921, allocations: 0.587 MB / 1.535 GB, free: 7.32 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.007075/0.7992, allocations: 2.402 MB / 1.537 GB, free: 4.91 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.7992, allocations: 4 kB / 1.537 GB, free: 4.906 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7992, allocations: 0 / 1.537 GB, free: 4.906 MB / 1.232 GB Notification: Performance of Transformations before backend: time 7.494e-05/0.7992, allocations: 0 / 1.537 GB, free: 4.906 MB / 1.232 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.005354/0.8046, allocations: 1.669 MB / 1.539 GB, free: 3.176 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.8047, allocations: 11.98 kB / 1.539 GB, free: 3.164 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00336/0.808, allocations: 0.5416 MB / 1.539 GB, free: 2.621 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002939/0.811, allocations: 1.042 MB / 1.54 GB, free: 1.535 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.55e-05/0.8111, allocations: 57.31 kB / 1.54 GB, free: 1.477 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002355/0.8113, allocations: 72 kB / 1.54 GB, free: 1.406 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00301/0.8143, allocations: 1.101 MB / 1.542 GB, free: 288 kB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.8143, allocations: 3.938 kB / 1.542 GB, free: 284 kB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.8144, allocations: 28 kB / 1.542 GB, free: 256 kB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-05/0.8145, allocations: 37.3 kB / 1.542 GB, free: 220 kB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003511/0.818, allocations: 1.16 MB / 1.543 GB, free: 15.05 MB / 1.248 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.007243/0.8252, allocations: 3.183 MB / 1.546 GB, free: 11.79 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/0.8272, allocations: 0.6567 MB / 1.547 GB, free: 11.11 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008932/0.8281, allocations: 392.1 kB / 1.547 GB, free: 10.73 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/0.8292, allocations: 1.021 MB / 1.548 GB, free: 9.488 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001163/0.8304, allocations: 0.5143 MB / 1.548 GB, free: 8.945 MB / 1.248 GB Notification: Performance of pre-optimization done (n=57): time 3.647e-06/0.8304, allocations: 0 / 1.548 GB, free: 8.945 MB / 1.248 GB Notification: Performance of matching and sorting (n=57): time 0.003519/0.8339, allocations: 1.233 MB / 1.55 GB, free: 7.703 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.834, allocations: 140.8 kB / 1.55 GB, free: 7.535 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002493/0.8365, allocations: 1.18 MB / 1.551 GB, free: 6.34 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001471/0.8366, allocations: 37.7 kB / 1.551 GB, free: 6.297 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.000492/0.8371, allocations: 445.8 kB / 1.551 GB, free: 5.855 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/0.8374, allocations: 198.3 kB / 1.552 GB, free: 5.66 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003461/0.8377, allocations: 146.1 kB / 1.552 GB, free: 5.512 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.8379, allocations: 330 kB / 1.552 GB, free: 5.184 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.8392, allocations: 436.9 kB / 1.552 GB, free: 4.758 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/0.8408, allocations: 0.6015 MB / 1.553 GB, free: 4.109 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002284/0.8431, allocations: 0.9301 MB / 1.554 GB, free: 3.117 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.8431, allocations: 0 / 1.554 GB, free: 3.117 MB / 1.248 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003546/0.8466, allocations: 1.206 MB / 1.555 GB, free: 1.902 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 6.149e-05/0.8467, allocations: 33.7 kB / 1.555 GB, free: 1.863 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.8467, allocations: 4 kB / 1.555 GB, free: 1.859 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.952e-05/0.8467, allocations: 4 kB / 1.555 GB, free: 1.855 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000971/0.8477, allocations: 187.9 kB / 1.555 GB, free: 1.672 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.282e-05/0.8477, allocations: 11.92 kB / 1.555 GB, free: 1.66 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.8494, allocations: 243.2 kB / 1.556 GB, free: 1.422 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.8496, allocations: 39.97 kB / 1.556 GB, free: 1.383 MB / 1.248 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.000652/0.8502, allocations: 330 kB / 1.556 GB, free: 1.047 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003731/0.8506, allocations: 119.2 kB / 1.556 GB, free: 0.9297 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002495/0.8531, allocations: 0.997 MB / 1.557 GB, free: 15.93 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/0.8531, allocations: 15.98 kB / 1.557 GB, free: 15.91 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-06/0.8531, allocations: 3.938 kB / 1.557 GB, free: 15.91 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.8531, allocations: 0 / 1.557 GB, free: 15.91 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005363/0.8585, allocations: 3.166 MB / 1.56 GB, free: 12.59 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.8585, allocations: 8 kB / 1.56 GB, free: 12.58 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005979/0.8591, allocations: 119.8 kB / 1.56 GB, free: 12.46 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.947e-05/0.8591, allocations: 8.516 kB / 1.56 GB, free: 12.45 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.023e-05/0.8592, allocations: 28.08 kB / 1.56 GB, free: 12.43 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.326e-05/0.8592, allocations: 15.94 kB / 1.56 GB, free: 12.41 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.8592, allocations: 11.94 kB / 1.56 GB, free: 12.4 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00247/0.8617, allocations: 1.346 MB / 1.562 GB, free: 10.93 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005885/0.8623, allocations: 344 kB / 1.562 GB, free: 10.58 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/0.8624, allocations: 23.98 kB / 1.562 GB, free: 10.55 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.8635, allocations: 91.91 kB / 1.562 GB, free: 10.46 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.8636, allocations: 71.69 kB / 1.562 GB, free: 10.39 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.964e-05/0.8637, allocations: 35.98 kB / 1.562 GB, free: 10.36 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001617/0.8653, allocations: 0.8482 MB / 1.563 GB, free: 9.504 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.8653, allocations: 0 / 1.563 GB, free: 9.504 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001199/0.8665, allocations: 303.6 kB / 1.563 GB, free: 9.207 MB / 1.264 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.0008558/0.8674, allocations: 338.2 kB / 1.564 GB, free: 8.871 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002708/0.8701, allocations: 0.9741 MB / 1.565 GB, free: 7.883 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.8701, allocations: 4 kB / 1.565 GB, free: 7.879 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0009642/0.8711, allocations: 482.7 kB / 1.565 GB, free: 7.398 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002693/0.8738, allocations: 0.5483 MB / 1.566 GB, free: 6.855 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003962/0.8777, allocations: 2.059 MB / 1.568 GB, free: 4.668 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007634/0.8785, allocations: 1.069 MB / 1.569 GB, free: 3.562 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001003/0.8795, allocations: 277.3 kB / 1.569 GB, free: 3.293 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/0.8798, allocations: 79.42 kB / 1.569 GB, free: 3.215 MB / 1.264 GB Notification: Performance of SimCode: time 1.072e-06/0.8798, allocations: 0 / 1.569 GB, free: 3.215 MB / 1.264 GB Notification: Performance of Templates: time 0.04312/0.9229, allocations: 22.33 MB / 1.591 GB, free: 13.11 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.411136142909527]