Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001696/0.001696, allocations: 88.39 kB / 20.23 MB, free: 4.176 MB / 18.57 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.002063/0.002063, allocations: 161.3 kB / 23.54 MB, free: 0.8672 MB / 18.57 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.52/1.52, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.869/2.869, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.493e-05/3.663e-05, allocations: 2.969 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2534/0.2535, allocations: 171.7 MB / 0.954 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01331/0.2668, allocations: 6.589 MB / 0.9605 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001663/0.2684, allocations: 67.38 kB / 0.9605 GB, free: 9.957 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.002313/0.2707, allocations: 0.6945 MB / 0.9612 GB, free: 9.258 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.008011/0.2788, allocations: 2.488 MB / 0.9636 GB, free: 6.758 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.004303/0.2831, allocations: 1.493 MB / 0.9651 GB, free: 5.266 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.005355/0.2884, allocations: 3.021 MB / 0.968 GB, free: 2.23 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001691/0.2901, allocations: 0.7209 MB / 0.9687 GB, free: 1.492 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004126/0.2942, allocations: 1.524 MB / 0.9702 GB, free: 15.98 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001922/0.2962, allocations: 0.7449 MB / 0.9709 GB, free: 15.25 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0003262/0.2965, allocations: 96 kB / 0.971 GB, free: 15.16 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004306/0.3008, allocations: 1.714 MB / 0.9727 GB, free: 13.44 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0006687/0.3015, allocations: 402.7 kB / 0.9731 GB, free: 13.05 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.001068/0.3025, allocations: 391 kB / 0.9735 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.005063/0.3076, allocations: 2.454 MB / 0.9759 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3076, allocations: 0 / 0.9759 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.983e-06/0.3076, allocations: 0 / 0.9759 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.701e-05/0.3076, allocations: 0 / 0.9759 GB, free: 10.2 MB / 0.9323 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.004008/0.3116, allocations: 1.586 MB / 0.9774 GB, free: 8.574 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.3117, allocations: 8.031 kB / 0.9774 GB, free: 8.566 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00335/0.315, allocations: 0.6312 MB / 0.978 GB, free: 7.934 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002626/0.3176, allocations: 1.037 MB / 0.9791 GB, free: 6.871 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.002e-05/0.3177, allocations: 57.3 kB / 0.9791 GB, free: 6.816 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/0.3179, allocations: 76 kB / 0.9792 GB, free: 6.742 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002985/0.3209, allocations: 1.23 MB / 0.9804 GB, free: 5.449 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.3209, allocations: 0 / 0.9804 GB, free: 5.449 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.321, allocations: 28 kB / 0.9804 GB, free: 5.422 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.747e-05/0.3211, allocations: 37.23 kB / 0.9804 GB, free: 5.383 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003478/0.3246, allocations: 1.197 MB / 0.9816 GB, free: 4.18 MB / 0.9323 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.006596/0.3312, allocations: 2.721 MB / 0.9843 GB, free: 1.402 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.3331, allocations: 0.6703 MB / 0.9849 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009381/0.334, allocations: 427.8 kB / 0.9853 GB, free: 300 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005349/0.3346, allocations: 132.4 kB / 0.9855 GB, free: 164 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001289/0.3359, allocations: 0.6516 MB / 0.9861 GB, free: 15.45 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 2.555e-06/0.3359, allocations: 0 / 0.9861 GB, free: 15.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.003688/0.3396, allocations: 1.296 MB / 0.9874 GB, free: 14.13 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.3397, allocations: 144.8 kB / 0.9875 GB, free: 13.96 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/0.3415, allocations: 0.8839 MB / 0.9884 GB, free: 13.07 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.823e-05/0.3416, allocations: 37.7 kB / 0.9884 GB, free: 13.03 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004882/0.3421, allocations: 460.5 kB / 0.9888 GB, free: 12.57 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000227/0.3423, allocations: 194.3 kB / 0.989 GB, free: 12.38 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000328/0.3426, allocations: 146.2 kB / 0.9892 GB, free: 12.23 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001954/0.3428, allocations: 329.9 kB / 0.9895 GB, free: 11.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.3442, allocations: 474.7 kB / 0.9899 GB, free: 11.43 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001849/0.3461, allocations: 0.9707 MB / 0.9909 GB, free: 10.32 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002371/0.3485, allocations: 0.9373 MB / 0.9918 GB, free: 9.332 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.3485, allocations: 0 / 0.9918 GB, free: 9.332 MB / 0.948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003535/0.352, allocations: 1.234 MB / 0.993 GB, free: 8.078 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.055e-05/0.3521, allocations: 52.12 kB / 0.993 GB, free: 8.023 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.3521, allocations: 0 / 0.993 GB, free: 8.023 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/0.3521, allocations: 11.94 kB / 0.9931 GB, free: 8.012 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.3531, allocations: 184.1 kB / 0.9932 GB, free: 7.832 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/0.3531, allocations: 11.94 kB / 0.9932 GB, free: 7.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.3549, allocations: 215.4 kB / 0.9935 GB, free: 7.609 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.355, allocations: 43.97 kB / 0.9935 GB, free: 7.566 MB / 0.948 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.0006565/0.3557, allocations: 326 kB / 0.9938 GB, free: 7.234 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003461/0.356, allocations: 115.4 kB / 0.9939 GB, free: 7.121 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/0.3586, allocations: 1.016 MB / 0.9949 GB, free: 6.09 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/0.3586, allocations: 8 kB / 0.9949 GB, free: 6.082 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.3586, allocations: 0 / 0.9949 GB, free: 6.082 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.3586, allocations: 3.984 kB / 0.9949 GB, free: 6.078 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005898/0.3645, allocations: 2.942 MB / 0.9978 GB, free: 2.992 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.102e-05/0.3645, allocations: 4 kB / 0.9978 GB, free: 2.988 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006515/0.3652, allocations: 124 kB / 0.9979 GB, free: 2.867 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-05/0.3652, allocations: 12 kB / 0.9979 GB, free: 2.855 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.176e-05/0.3653, allocations: 27.92 kB / 0.998 GB, free: 2.828 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.907e-05/0.3653, allocations: 15.94 kB / 0.998 GB, free: 2.812 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/0.3653, allocations: 8 kB / 0.998 GB, free: 2.805 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002742/0.368, allocations: 1.379 MB / 0.9993 GB, free: 1.297 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005873/0.3686, allocations: 231.1 kB / 0.9995 GB, free: 1.07 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.3688, allocations: 27.88 kB / 0.9996 GB, free: 1.043 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.3699, allocations: 107.9 kB / 0.9997 GB, free: 0.9375 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.3701, allocations: 55.75 kB / 0.9997 GB, free: 0.8828 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.912e-05/0.3702, allocations: 43.97 kB / 0.9998 GB, free: 0.8398 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001678/0.3719, allocations: 0.6356 MB / 1 GB, free: 216 kB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.3719, allocations: 4 kB / 1 GB, free: 212 kB / 0.948 GB Notification: Performance of remove unused functions: time 0.001363/0.3732, allocations: 335.3 kB / 1.001 GB, free: 15.88 MB / 0.9636 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.0008501/0.3741, allocations: 332.5 kB / 1.001 GB, free: 15.55 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002806/0.3769, allocations: 1.048 MB / 1.002 GB, free: 14.48 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.3769, allocations: 4.125 kB / 1.002 GB, free: 14.47 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.378, allocations: 0.5055 MB / 1.003 GB, free: 13.95 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/0.3804, allocations: 412.6 kB / 1.003 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0044/0.3848, allocations: 2.032 MB / 1.005 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007129/0.3855, allocations: 485.6 kB / 1.005 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001025/0.3866, allocations: 241.3 kB / 1.006 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002867/0.3869, allocations: 68.48 kB / 1.006 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of SimCode: time 1.653e-06/0.3869, allocations: 0 / 1.006 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of Templates: time 0.03722/0.4241, allocations: 18.07 MB / 1.023 GB, free: 8.844 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.947035150020383]