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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 117.7 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.561/2.561, allocations: 443.5 MB / 0.7293 GB, free: 14.55 MB / 0.5762 GB " [Timeout remaining time 177] 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=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_10_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_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 71.89 kB / 1.057 GB, free: 2.09 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3131, allocations: 160.7 MB / 1.214 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.9415/1.255, allocations: 194.7 MB / 1.404 GB, free: 6.91 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01228/1.267, allocations: 6.953 MB / 1.411 GB, free: 1.246 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001981/1.269, allocations: 45.66 kB / 1.411 GB, free: 1.227 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00212/1.271, allocations: 0.7119 MB / 1.412 GB, free: 0.6211 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0072/1.278, allocations: 2.447 MB / 1.414 GB, free: 14.77 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004143/1.282, allocations: 1.434 MB / 1.416 GB, free: 13.71 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.005028/1.287, allocations: 2.991 MB / 1.418 GB, free: 11.95 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001414/1.289, allocations: 0.7363 MB / 1.419 GB, free: 11.45 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003072/1.292, allocations: 1.165 MB / 1.42 GB, free: 10.76 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001903/1.294, allocations: 0.8481 MB / 1.421 GB, free: 10.25 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002374/1.294, allocations: 100.8 kB / 1.421 GB, free: 10.25 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00493/1.299, allocations: 2.162 MB / 1.423 GB, free: 9.004 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005135/1.299, allocations: 389.8 kB / 1.424 GB, free: 8.727 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008718/1.3, allocations: 0.5798 MB / 1.424 GB, free: 8.328 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005401/1.306, allocations: 2.405 MB / 1.427 GB, free: 6.766 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.306, allocations: 0 / 1.427 GB, free: 6.766 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.603e-06/1.306, allocations: 0 / 1.427 GB, free: 6.766 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.273e-05/1.306, allocations: 0 / 1.427 GB, free: 6.766 MB / 1.092 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.004052/1.31, allocations: 1.664 MB / 1.428 GB, free: 5.473 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/1.31, allocations: 7.781 kB / 1.428 GB, free: 5.473 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003042/1.313, allocations: 0.5468 MB / 1.429 GB, free: 5.223 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002627/1.316, allocations: 1.047 MB / 1.43 GB, free: 4.406 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.752e-05/1.316, allocations: 58.86 kB / 1.43 GB, free: 4.379 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/1.316, allocations: 66.38 kB / 1.43 GB, free: 4.359 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002798/1.319, allocations: 1.106 MB / 1.431 GB, free: 3.277 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/1.319, allocations: 0 / 1.431 GB, free: 3.277 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/1.319, allocations: 31.92 kB / 1.431 GB, free: 3.246 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-05/1.319, allocations: 33.31 kB / 1.431 GB, free: 3.215 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00335/1.322, allocations: 1.168 MB / 1.432 GB, free: 2.051 MB / 1.092 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.006413/1.329, allocations: 3.167 MB / 1.435 GB, free: 14.8 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/1.33, allocations: 0.649 MB / 1.436 GB, free: 14.15 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008379/1.331, allocations: 399.6 kB / 1.436 GB, free: 13.76 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/1.332, allocations: 1.025 MB / 1.437 GB, free: 12.51 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/1.333, allocations: 0.5065 MB / 1.438 GB, free: 11.97 MB / 1.107 GB Notification: Performance of pre-optimization done (n=57): time 4.278e-06/1.333, allocations: 11.98 kB / 1.438 GB, free: 11.96 MB / 1.107 GB Notification: Performance of matching and sorting (n=57): time 0.003299/1.337, allocations: 1.225 MB / 1.439 GB, free: 10.73 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/1.337, allocations: 144.9 kB / 1.439 GB, free: 10.55 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002136/1.339, allocations: 1.18 MB / 1.44 GB, free: 9.359 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/1.339, allocations: 41.7 kB / 1.44 GB, free: 9.312 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004258/1.339, allocations: 433.9 kB / 1.441 GB, free: 8.883 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/1.34, allocations: 198.3 kB / 1.441 GB, free: 8.688 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002939/1.34, allocations: 150.1 kB / 1.441 GB, free: 8.535 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001728/1.34, allocations: 334 kB / 1.441 GB, free: 8.203 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/1.341, allocations: 436.9 kB / 1.442 GB, free: 7.777 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/1.343, allocations: 0.5976 MB / 1.442 GB, free: 7.137 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002305/1.345, allocations: 0.9301 MB / 1.443 GB, free: 6.148 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/1.345, allocations: 4 kB / 1.443 GB, free: 6.145 MB / 1.107 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003486/1.349, allocations: 1.198 MB / 1.445 GB, free: 4.934 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 6.942e-05/1.349, allocations: 39.88 kB / 1.445 GB, free: 4.891 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/1.349, allocations: 4 kB / 1.445 GB, free: 4.887 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/1.349, allocations: 7.938 kB / 1.445 GB, free: 4.879 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009819/1.35, allocations: 188.1 kB / 1.445 GB, free: 4.695 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.172e-05/1.35, allocations: 15.88 kB / 1.445 GB, free: 4.68 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/1.352, allocations: 247.1 kB / 1.445 GB, free: 4.438 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/1.352, allocations: 31.98 kB / 1.445 GB, free: 4.406 MB / 1.107 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.0006719/1.352, allocations: 335.8 kB / 1.445 GB, free: 4.062 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003199/1.353, allocations: 119.2 kB / 1.445 GB, free: 3.945 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002428/1.355, allocations: 0.9918 MB / 1.446 GB, free: 2.949 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/1.355, allocations: 4 kB / 1.446 GB, free: 2.945 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/1.355, allocations: 3.938 kB / 1.446 GB, free: 2.941 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/1.355, allocations: 7.984 kB / 1.446 GB, free: 2.934 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005894/1.361, allocations: 3.162 MB / 1.45 GB, free: 15.61 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-05/1.361, allocations: 9.391 kB / 1.45 GB, free: 15.61 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006237/1.362, allocations: 116 kB / 1.45 GB, free: 15.49 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.369e-05/1.362, allocations: 12 kB / 1.45 GB, free: 15.48 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.279e-05/1.362, allocations: 27.98 kB / 1.45 GB, free: 15.45 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.534e-05/1.362, allocations: 11.98 kB / 1.45 GB, free: 15.44 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/1.362, allocations: 15.94 kB / 1.45 GB, free: 15.43 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002507/1.364, allocations: 1.347 MB / 1.451 GB, free: 13.96 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007584/1.365, allocations: 351.9 kB / 1.451 GB, free: 13.6 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002789/1.365, allocations: 20 kB / 1.451 GB, free: 13.58 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/1.367, allocations: 103.9 kB / 1.451 GB, free: 13.48 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/1.367, allocations: 59.7 kB / 1.452 GB, free: 13.42 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/1.367, allocations: 43.97 kB / 1.452 GB, free: 13.38 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001833/1.369, allocations: 0.8443 MB / 1.452 GB, free: 12.53 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/1.369, allocations: 0 / 1.452 GB, free: 12.53 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001381/1.37, allocations: 303.6 kB / 1.453 GB, free: 12.23 MB / 1.123 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.0009394/1.371, allocations: 348.7 kB / 1.453 GB, free: 11.89 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002718/1.374, allocations: 0.9626 MB / 1.454 GB, free: 10.92 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/1.374, allocations: 4.125 kB / 1.454 GB, free: 10.91 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/1.375, allocations: 486.6 kB / 1.454 GB, free: 10.43 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00308/1.378, allocations: 0.55 MB / 1.455 GB, free: 9.887 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004465/1.382, allocations: 2.106 MB / 1.457 GB, free: 7.645 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009038/1.383, allocations: 1.065 MB / 1.458 GB, free: 6.543 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004088/1.384, allocations: 91.39 kB / 1.458 GB, free: 6.453 MB / 1.123 GB Notification: Performance of SimCode: time 1.112e-06/1.384, allocations: 0 / 1.458 GB, free: 6.453 MB / 1.123 GB Notification: Performance of Templates: time 0.03379/1.417, allocations: 18.89 MB / 1.477 GB, free: 3.699 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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.760995853925124]