Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001775/0.001775, allocations: 112.2 kB / 17.08 MB, free: 5.789 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.001842/0.001842, allocations: 191.7 kB / 20.03 MB, free: 2.906 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.4/1.4, allocations: 222.9 MB / 245.7 MB, free: 4.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.929/2.929, allocations: 489.3 MB / 0.7687 GB, free: 3.754 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.89 kB / 1.103 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9246/0.9266, allocations: 163.8 MB / 1.263 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2562/1.183, allocations: 194.1 MB / 1.452 GB, free: 5.613 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01319/1.196, allocations: 6.951 MB / 1.459 GB, free: 15.01 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002041/1.198, allocations: 47.69 kB / 1.459 GB, free: 14.96 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002234/1.2, allocations: 0.6908 MB / 1.46 GB, free: 14.27 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.006828/1.207, allocations: 2.326 MB / 1.462 GB, free: 11.93 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004114/1.211, allocations: 1.427 MB / 1.463 GB, free: 10.52 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005037/1.216, allocations: 2.986 MB / 1.466 GB, free: 7.523 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00176/1.218, allocations: 0.8876 MB / 1.467 GB, free: 6.625 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004368/1.223, allocations: 1.552 MB / 1.469 GB, free: 5.074 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/1.224, allocations: 0.7861 MB / 1.469 GB, free: 4.293 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003567/1.225, allocations: 100 kB / 1.469 GB, free: 4.195 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004576/1.229, allocations: 2.043 MB / 1.471 GB, free: 2.148 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006369/1.23, allocations: 358.9 kB / 1.472 GB, free: 1.797 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001176/1.231, allocations: 0.5908 MB / 1.472 GB, free: 1.203 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005099/1.236, allocations: 2.398 MB / 1.475 GB, free: 14.8 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.236, allocations: 4 kB / 1.475 GB, free: 14.79 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.715e-06/1.236, allocations: 4 kB / 1.475 GB, free: 14.79 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.096e-05/1.237, allocations: 0 / 1.475 GB, free: 14.79 MB / 1.17 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.004627/1.241, allocations: 1.669 MB / 1.476 GB, free: 13.06 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/1.241, allocations: 8.031 kB / 1.476 GB, free: 13.05 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003061/1.244, allocations: 0.5455 MB / 1.477 GB, free: 12.5 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00265/1.247, allocations: 1.035 MB / 1.478 GB, free: 11.42 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.14e-05/1.247, allocations: 65.25 kB / 1.478 GB, free: 11.36 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002169/1.247, allocations: 64 kB / 1.478 GB, free: 11.3 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002763/1.25, allocations: 1.109 MB / 1.479 GB, free: 10.16 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/1.25, allocations: 7.875 kB / 1.479 GB, free: 10.16 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/1.25, allocations: 28 kB / 1.479 GB, free: 10.13 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.868e-05/1.25, allocations: 37.3 kB / 1.479 GB, free: 10.09 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003254/1.254, allocations: 1.157 MB / 1.48 GB, free: 8.934 MB / 1.17 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.006569/1.26, allocations: 3.175 MB / 1.483 GB, free: 5.676 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/1.262, allocations: 0.6841 MB / 1.484 GB, free: 4.984 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008501/1.263, allocations: 420.8 kB / 1.484 GB, free: 4.57 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/1.264, allocations: 1.025 MB / 1.485 GB, free: 3.324 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0011/1.265, allocations: 0.5181 MB / 1.486 GB, free: 2.773 MB / 1.17 GB Notification: Performance of pre-optimization done (n=57): time 2.896e-06/1.265, allocations: 0 / 1.486 GB, free: 2.773 MB / 1.17 GB Notification: Performance of matching and sorting (n=57): time 0.003271/1.268, allocations: 1.222 MB / 1.487 GB, free: 1.547 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/1.269, allocations: 144.8 kB / 1.487 GB, free: 1.375 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002328/1.271, allocations: 1.176 MB / 1.488 GB, free: 188 kB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/1.271, allocations: 41.64 kB / 1.488 GB, free: 140 kB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004886/1.272, allocations: 445.8 kB / 1.489 GB, free: 15.69 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002363/1.272, allocations: 202.2 kB / 1.489 GB, free: 15.5 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003103/1.272, allocations: 142.2 kB / 1.489 GB, free: 15.35 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.272, allocations: 330 kB / 1.49 GB, free: 15.02 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/1.274, allocations: 444.9 kB / 1.49 GB, free: 14.59 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/1.275, allocations: 0.5859 MB / 1.491 GB, free: 13.95 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002172/1.277, allocations: 0.934 MB / 1.491 GB, free: 12.96 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/1.277, allocations: 3.938 kB / 1.491 GB, free: 12.96 MB / 1.186 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003251/1.28, allocations: 1.206 MB / 1.493 GB, free: 11.74 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 6.039e-05/1.281, allocations: 39.41 kB / 1.493 GB, free: 11.7 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/1.281, allocations: 4 kB / 1.493 GB, free: 11.69 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/1.281, allocations: 8 kB / 1.493 GB, free: 11.68 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009015/1.281, allocations: 183.8 kB / 1.493 GB, free: 11.5 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.951e-05/1.282, allocations: 11.94 kB / 1.493 GB, free: 11.49 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/1.283, allocations: 243.2 kB / 1.493 GB, free: 11.25 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/1.283, allocations: 31.98 kB / 1.493 GB, free: 11.22 MB / 1.186 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.0006115/1.284, allocations: 337.7 kB / 1.493 GB, free: 10.88 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003281/1.284, allocations: 119.2 kB / 1.494 GB, free: 10.76 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002327/1.287, allocations: 0.9982 MB / 1.495 GB, free: 9.758 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/1.287, allocations: 4 kB / 1.495 GB, free: 9.754 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/1.287, allocations: 3.938 kB / 1.495 GB, free: 9.75 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/1.287, allocations: 7.984 kB / 1.495 GB, free: 9.742 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005387/1.292, allocations: 3.159 MB / 1.498 GB, free: 6.43 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.842e-05/1.292, allocations: 12.03 kB / 1.498 GB, free: 6.418 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005787/1.293, allocations: 119.8 kB / 1.498 GB, free: 6.301 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.445e-05/1.293, allocations: 8 kB / 1.498 GB, free: 6.293 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.918e-05/1.293, allocations: 27.98 kB / 1.498 GB, free: 6.266 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.468e-05/1.293, allocations: 11.94 kB / 1.498 GB, free: 6.254 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.12e-05/1.293, allocations: 15.94 kB / 1.498 GB, free: 6.238 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002432/1.295, allocations: 1.35 MB / 1.499 GB, free: 4.77 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006852/1.296, allocations: 340 kB / 1.499 GB, free: 4.418 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002723/1.296, allocations: 24 kB / 1.499 GB, free: 4.395 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/1.297, allocations: 95.89 kB / 1.5 GB, free: 4.301 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/1.297, allocations: 63.77 kB / 1.5 GB, free: 4.238 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/1.298, allocations: 39.97 kB / 1.5 GB, free: 4.199 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001917/1.3, allocations: 0.8482 MB / 1.501 GB, free: 3.344 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.11e-07/1.3, allocations: 0 / 1.501 GB, free: 3.344 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001346/1.301, allocations: 299.6 kB / 1.501 GB, free: 3.051 MB / 1.186 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.0009638/1.302, allocations: 356.1 kB / 1.501 GB, free: 2.707 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00269/1.305, allocations: 1.025 MB / 1.502 GB, free: 1.668 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/1.305, allocations: 0 / 1.502 GB, free: 1.668 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/1.306, allocations: 0.5125 MB / 1.503 GB, free: 1.145 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/1.309, allocations: 0.5501 MB / 1.503 GB, free: 0.6055 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004297/1.313, allocations: 2.106 MB / 1.505 GB, free: 14.36 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009163/1.314, allocations: 1.061 MB / 1.506 GB, free: 13.27 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004075/1.314, allocations: 95.39 kB / 1.506 GB, free: 13.18 MB / 1.201 GB Notification: Performance of SimCode: time 1.152e-06/1.314, allocations: 0 / 1.506 GB, free: 13.18 MB / 1.201 GB Notification: Performance of Templates: time 0.03227/1.347, allocations: 18.81 MB / 1.525 GB, free: 10.48 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.589369338005781]