Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.0008183/0.0008183, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001098/0.001916, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007811/0.0007811, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00102/0.001801, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.8918/0.8918, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09272/0.9845, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.446/2.446, allocations: 446.7 MB / 0.6745 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.272/2.718, allocations: 145.9 MB / 0.817 GB, free: 4.207 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.8183 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001e-05/1.152e-05, allocations: 4.844 kB / 0.8183 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.008039/0.00805, allocations: 10.63 MB / 0.8287 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.007136/0.01519, allocations: 7.071 MB / 0.8356 GB, free: 1.117 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005075/0.01569, allocations: 87.25 kB / 0.8357 GB, free: 1.031 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000678/0.01637, allocations: 420.8 kB / 0.8361 GB, free: 0.6172 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.002239/0.01861, allocations: 1.787 MB / 0.8378 GB, free: 14.83 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007762/0.01939, allocations: 0.6511 MB / 0.8384 GB, free: 14.18 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.002019/0.02141, allocations: 2.987 MB / 0.8414 GB, free: 11.18 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009826/0.02239, allocations: 1.169 MB / 0.8425 GB, free: 9.961 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00171/0.0241, allocations: 2.254 MB / 0.8447 GB, free: 7.691 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.0251, allocations: 1.052 MB / 0.8457 GB, free: 6.637 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.02525, allocations: 160 kB / 0.8459 GB, free: 6.48 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004823/0.02573, allocations: 323.6 kB / 0.8462 GB, free: 6.164 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003299/0.02606, allocations: 0.5649 MB / 0.8467 GB, free: 5.598 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004312/0.02649, allocations: 0.5419 MB / 0.8473 GB, free: 5.055 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.02766, allocations: 1.463 MB / 0.8487 GB, free: 3.586 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.176e-05/0.02767, allocations: 0 / 0.8487 GB, free: 3.586 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.12e-07/0.02767, allocations: 0 / 0.8487 GB, free: 3.586 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.058e-05/0.02769, allocations: 0 / 0.8487 GB, free: 3.586 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.001948/0.02964, allocations: 2.392 MB / 0.851 GB, free: 1.16 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.02967, allocations: 8.625 kB / 0.851 GB, free: 1.152 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004138/0.0338, allocations: 0.9496 MB / 0.852 GB, free: 188 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.03488, allocations: 1.073 MB / 0.853 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.697e-05/0.03492, allocations: 86.69 kB / 0.8531 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.03508, allocations: 132.3 kB / 0.8532 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.0366, allocations: 1.609 MB / 0.8548 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.03662, allocations: 11.88 kB / 0.8548 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-05/0.03672, allocations: 51.98 kB / 0.8549 GB, free: 12.97 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002576/0.03698, allocations: 146.2 kB / 0.855 GB, free: 12.83 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007018/0.03768, allocations: 0.5738 MB / 0.8556 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004962/0.04264, allocations: 5.729 MB / 0.8612 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000875/0.04352, allocations: 0.5907 MB / 0.8617 GB, free: 5.762 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/0.04382, allocations: 252.3 kB / 0.862 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.946e-05/0.04387, allocations: 20.98 kB / 0.862 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.0439, allocations: 39.56 kB / 0.862 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=89): time 2.264e-06/0.0439, allocations: 4 kB / 0.862 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of matching and sorting (n=90): time 0.008296/0.0522, allocations: 3.911 MB / 0.8659 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.05222, allocations: 68.34 kB / 0.8659 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005316/0.05275, allocations: 0.9029 MB / 0.8668 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.852e-05/0.05282, allocations: 45.64 kB / 0.8668 GB, free: 484 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.05306, allocations: 0.5814 MB / 0.8674 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.05325, allocations: 325.1 kB / 0.8677 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/0.05348, allocations: 194.7 kB / 0.8679 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.302e-05/0.05356, allocations: 345.9 kB / 0.8682 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.05381, allocations: 194.5 kB / 0.8684 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003484/0.05416, allocations: 440.5 kB / 0.8688 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006423/0.0548, allocations: 0.7077 MB / 0.8695 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.0548, allocations: 0 / 0.8695 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001828/0.05663, allocations: 1.27 MB / 0.8708 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.05665, allocations: 8 kB / 0.8708 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.05666, allocations: 8 kB / 0.8708 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002056/0.05872, allocations: 0.8544 MB / 0.8716 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/0.0593, allocations: 211.7 kB / 0.8718 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005615/0.06492, allocations: 6.986 MB / 0.8787 GB, free: 3.746 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004788/0.0654, allocations: 60 kB / 0.8787 GB, free: 3.688 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.446e-05/0.06546, allocations: 39.91 kB / 0.8787 GB, free: 3.648 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,8,100.0%), (3,17,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002488/0.06571, allocations: 172.4 kB / 0.8789 GB, free: 3.469 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.06586, allocations: 119.9 kB / 0.879 GB, free: 3.352 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002117/0.06798, allocations: 1.253 MB / 0.8803 GB, free: 2.066 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.06798, allocations: 8 kB / 0.8803 GB, free: 2.059 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.06799, allocations: 12 kB / 0.8803 GB, free: 2.047 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.068, allocations: 7.969 kB / 0.8803 GB, free: 2.039 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002636/0.07063, allocations: 1.969 MB / 0.8822 GB, free: 12 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.07064, allocations: 0 / 0.8822 GB, free: 12 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004692/0.07111, allocations: 147.9 kB / 0.8823 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002777/0.07138, allocations: 242.9 kB / 0.8826 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001945/0.07333, allocations: 0.8343 MB / 0.8834 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.545e-05/0.07339, allocations: 27.97 kB / 0.8834 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005414/0.0788, allocations: 7.011 MB / 0.8903 GB, free: 7.359 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.0788, allocations: 3.984 kB / 0.8903 GB, free: 7.355 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.08059, allocations: 1.266 MB / 0.8915 GB, free: 6.039 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.08071, allocations: 16 kB / 0.8915 GB, free: 6.023 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004263/0.08114, allocations: 43.97 kB / 0.8916 GB, free: 5.98 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.08128, allocations: 88.77 kB / 0.8916 GB, free: 5.895 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.638e-05/0.08133, allocations: 31.97 kB / 0.8917 GB, free: 5.863 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003049/0.08164, allocations: 455.7 kB / 0.8921 GB, free: 5.414 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.08164, allocations: 0 / 0.8921 GB, free: 5.414 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008669/0.0825, allocations: 496 kB / 0.8926 GB, free: 4.93 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001885/0.08269, allocations: 112.2 kB / 0.8927 GB, free: 4.812 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001823/0.08451, allocations: 1.467 MB / 0.8941 GB, free: 3.289 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.033e-05/0.08454, allocations: 27.11 kB / 0.8941 GB, free: 3.266 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.08558, allocations: 1.122 MB / 0.8952 GB, free: 2.094 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.08666, allocations: 0.6346 MB / 0.8959 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007821/0.09448, allocations: 2.593 MB / 0.8984 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.09478, allocations: 396.1 kB / 0.8988 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0006693/0.09545, allocations: 287.2 kB / 0.899 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007198/0.09617, allocations: 403 kB / 0.8994 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of SimCode: time 1.593e-06/0.09617, allocations: 4 kB / 0.8994 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of Templates: time 0.04015/0.1363, allocations: 36.37 MB / 0.935 GB, free: 9.992 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.880970950238407]