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.001327/0.001327, allocations: 117.2 kB / 17.13 MB, free: 5.945 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.001437/0.001437, allocations: 210.5 kB / 20.09 MB, free: 2.996 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.46/1.46, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.85/2.85, allocations: 0.49 GB / 0.7923 GB, free: 1.332 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.002167/0.002167, allocations: 63.91 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8871/0.8893, allocations: 176.1 MB / 1.322 GB, free: 25.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2306/1.12, allocations: 197.8 MB / 1.515 GB, free: 3.438 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01139/1.131, allocations: 6.947 MB / 1.522 GB, free: 12.48 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001361/1.133, allocations: 63.38 kB / 1.522 GB, free: 12.41 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001649/1.134, allocations: 0.7064 MB / 1.523 GB, free: 11.7 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005438/1.14, allocations: 2.44 MB / 1.525 GB, free: 9.254 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003258/1.143, allocations: 1.435 MB / 1.526 GB, free: 7.84 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00401/1.147, allocations: 2.978 MB / 1.529 GB, free: 4.852 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/1.148, allocations: 0.7461 MB / 1.53 GB, free: 4.098 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003694/1.152, allocations: 1.597 MB / 1.532 GB, free: 2.5 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/1.153, allocations: 0.8333 MB / 1.532 GB, free: 1.668 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001699/1.153, allocations: 100 kB / 1.533 GB, free: 1.57 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004006/1.157, allocations: 2.132 MB / 1.535 GB, free: 15.43 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004337/1.158, allocations: 382.6 kB / 1.535 GB, free: 15.06 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0006769/1.158, allocations: 0.5831 MB / 1.536 GB, free: 14.47 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003742/1.162, allocations: 2.398 MB / 1.538 GB, free: 12.07 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/1.162, allocations: 3.938 kB / 1.538 GB, free: 12.06 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.422e-06/1.162, allocations: 7.938 kB / 1.538 GB, free: 12.05 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.235e-05/1.162, allocations: 0 / 1.538 GB, free: 12.05 MB / 1.217 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.00361/1.166, allocations: 1.672 MB / 1.54 GB, free: 10.32 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/1.166, allocations: 15.92 kB / 1.54 GB, free: 10.31 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003073/1.169, allocations: 0.5377 MB / 1.54 GB, free: 9.77 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00233/1.171, allocations: 1.05 MB / 1.541 GB, free: 8.676 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.648e-05/1.171, allocations: 57.31 kB / 1.541 GB, free: 8.617 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/1.172, allocations: 64 kB / 1.541 GB, free: 8.555 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002533/1.174, allocations: 1.105 MB / 1.542 GB, free: 7.422 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/1.174, allocations: 3.938 kB / 1.542 GB, free: 7.418 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.014e-05/1.174, allocations: 28 kB / 1.542 GB, free: 7.391 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.595e-05/1.174, allocations: 37.3 kB / 1.542 GB, free: 7.355 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003242/1.177, allocations: 1.16 MB / 1.543 GB, free: 6.195 MB / 1.217 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.005877/1.183, allocations: 3.183 MB / 1.547 GB, free: 2.934 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/1.185, allocations: 0.6553 MB / 1.547 GB, free: 2.27 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008303/1.186, allocations: 386.2 kB / 1.548 GB, free: 1.891 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/1.187, allocations: 1.021 MB / 1.549 GB, free: 0.6484 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/1.188, allocations: 0.5143 MB / 1.549 GB, free: 112 kB / 1.217 GB Notification: Performance of pre-optimization done (n=57): time 2.635e-06/1.188, allocations: 4 kB / 1.549 GB, free: 108 kB / 1.217 GB Notification: Performance of matching and sorting (n=57): time 0.003157/1.191, allocations: 1.229 MB / 1.55 GB, free: 14.87 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/1.191, allocations: 144.8 kB / 1.55 GB, free: 14.7 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002089/1.193, allocations: 1.176 MB / 1.552 GB, free: 13.5 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001267/1.194, allocations: 37.7 kB / 1.552 GB, free: 13.46 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004134/1.194, allocations: 445.8 kB / 1.552 GB, free: 13.02 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/1.194, allocations: 194.3 kB / 1.552 GB, free: 12.83 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002976/1.194, allocations: 150.1 kB / 1.552 GB, free: 12.68 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001571/1.195, allocations: 330 kB / 1.553 GB, free: 12.35 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/1.196, allocations: 436.9 kB / 1.553 GB, free: 11.92 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/1.198, allocations: 0.5976 MB / 1.554 GB, free: 11.28 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002282/1.2, allocations: 0.9262 MB / 1.555 GB, free: 10.29 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.2, allocations: 0 / 1.555 GB, free: 10.29 MB / 1.232 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003338/1.203, allocations: 1.202 MB / 1.556 GB, free: 9.074 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.634e-05/1.203, allocations: 33.7 kB / 1.556 GB, free: 9.035 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/1.203, allocations: 4 kB / 1.556 GB, free: 9.031 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/1.203, allocations: 4 kB / 1.556 GB, free: 9.027 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009718/1.204, allocations: 192 kB / 1.556 GB, free: 8.84 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/1.204, allocations: 19.86 kB / 1.556 GB, free: 8.82 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/1.206, allocations: 251 kB / 1.556 GB, free: 8.574 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.715e-05/1.206, allocations: 43.91 kB / 1.556 GB, free: 8.531 MB / 1.232 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.0004986/1.206, allocations: 324.9 kB / 1.557 GB, free: 8.199 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/1.206, allocations: 119.2 kB / 1.557 GB, free: 8.082 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/1.209, allocations: 0.9906 MB / 1.558 GB, free: 7.082 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/1.209, allocations: 8 kB / 1.558 GB, free: 7.074 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/1.209, allocations: 7.938 kB / 1.558 GB, free: 7.066 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/1.209, allocations: 3.984 kB / 1.558 GB, free: 7.062 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005083/1.214, allocations: 3.177 MB / 1.561 GB, free: 3.727 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/1.214, allocations: 8 kB / 1.561 GB, free: 3.719 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006005/1.214, allocations: 119.8 kB / 1.561 GB, free: 3.602 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.214e-05/1.214, allocations: 12.19 kB / 1.561 GB, free: 3.59 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.533e-05/1.214, allocations: 23.98 kB / 1.561 GB, free: 3.566 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-05/1.214, allocations: 8 kB / 1.561 GB, free: 3.559 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/1.214, allocations: 11.94 kB / 1.561 GB, free: 3.547 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/1.217, allocations: 1.35 MB / 1.562 GB, free: 2.078 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004993/1.217, allocations: 336 kB / 1.563 GB, free: 1.73 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/1.217, allocations: 27.98 kB / 1.563 GB, free: 1.703 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/1.219, allocations: 99.91 kB / 1.563 GB, free: 1.605 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/1.219, allocations: 67.67 kB / 1.563 GB, free: 1.539 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.944e-05/1.219, allocations: 39.97 kB / 1.563 GB, free: 1.5 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.00155/1.22, allocations: 0.8482 MB / 1.564 GB, free: 0.6445 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.01e-07/1.22, allocations: 0 / 1.564 GB, free: 0.6445 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001028/1.221, allocations: 299.7 kB / 1.564 GB, free: 360 kB / 1.232 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.0005912/1.222, allocations: 341.5 kB / 1.564 GB, free: 16 kB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002476/1.224, allocations: 0.9664 MB / 1.565 GB, free: 15.04 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/1.224, allocations: 4 kB / 1.565 GB, free: 15.03 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0009719/1.225, allocations: 488.8 kB / 1.566 GB, free: 14.54 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/1.228, allocations: 0.5426 MB / 1.566 GB, free: 14 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003846/1.232, allocations: 2.102 MB / 1.568 GB, free: 11.77 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007692/1.233, allocations: 1.061 MB / 1.569 GB, free: 10.67 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003567/1.233, allocations: 95.39 kB / 1.569 GB, free: 10.57 MB / 1.248 GB Notification: Performance of SimCode: time 4.2e-07/1.233, allocations: 0 / 1.569 GB, free: 10.57 MB / 1.248 GB Notification: Performance of Templates: time 0.02768/1.261, allocations: 18.87 MB / 1.588 GB, free: 7.84 MB / 1.264 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/jenkins1/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: 13.626642564995564]