Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001165/0.001165, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001682/0.002846, 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.001161/0.001161, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001462/0.002624, 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.9678/0.9678, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0855/1.053, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.45/2.45, allocations: 446.7 MB / 0.6745 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2639/2.713, allocations: 145.9 MB / 0.817 GB, free: 4.184 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.ACLine_L,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.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 3.938 kB / 0.8183 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.187e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.005908/0.00593, allocations: 4.301 MB / 0.8225 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003559/0.009489, allocations: 1.625 MB / 0.8241 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005113/0.01, allocations: 47.56 kB / 0.8241 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006995/0.0107, allocations: 218.5 kB / 0.8243 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.01179, allocations: 473.1 kB / 0.8248 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009314/0.01272, allocations: 379.2 kB / 0.8252 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001443/0.01416, allocations: 1.225 MB / 0.8264 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007997/0.01496, allocations: 0.512 MB / 0.8269 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009946/0.01596, allocations: 0.6702 MB / 0.8275 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007629/0.01672, allocations: 498.6 kB / 0.828 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.01683, allocations: 56 kB / 0.828 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003647/0.0172, allocations: 135.7 kB / 0.8282 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002814/0.01748, allocations: 287.2 kB / 0.8284 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0004108/0.01789, allocations: 227.5 kB / 0.8287 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0008373/0.01873, allocations: 0.6228 MB / 0.8293 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.488e-05/0.01875, allocations: 0 / 0.8293 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.874e-06/0.01875, allocations: 4 kB / 0.8293 GB, free: 7.59 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.455e-05/0.01879, allocations: 3.938 kB / 0.8293 GB, free: 7.586 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001552/0.02034, allocations: 1.087 MB / 0.8303 GB, free: 6.473 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/0.0204, allocations: 12.62 kB / 0.8303 GB, free: 6.461 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.02161, allocations: 337.3 kB / 0.8307 GB, free: 6.113 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00093/0.02254, allocations: 0.5146 MB / 0.8312 GB, free: 5.57 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.277e-05/0.0226, allocations: 49.67 kB / 0.8312 GB, free: 5.52 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/0.02279, allocations: 64.31 kB / 0.8313 GB, free: 5.457 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009668/0.02375, allocations: 0.7816 MB / 0.832 GB, free: 4.543 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.02378, allocations: 4.188 kB / 0.832 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.18e-05/0.02382, allocations: 36.3 kB / 0.8321 GB, free: 4.504 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-05/0.02389, allocations: 69.2 kB / 0.8321 GB, free: 4.438 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002718/0.02416, allocations: 252.6 kB / 0.8324 GB, free: 4.191 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002469/0.02663, allocations: 3.876 MB / 0.8362 GB, free: 172 kB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/0.02698, allocations: 253.1 kB / 0.8364 GB, free: 15.91 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.02728, allocations: 217.2 kB / 0.8366 GB, free: 15.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.0273, allocations: 8 kB / 0.8366 GB, free: 15.69 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.02733, allocations: 38.34 kB / 0.8367 GB, free: 15.64 MB / 0.823 GB Notification: Performance of pre-optimization done (n=41): time 2.835e-06/0.02733, allocations: 4 kB / 0.8367 GB, free: 15.64 MB / 0.823 GB Notification: Performance of matching and sorting (n=42): time 0.001675/0.02901, allocations: 0.8712 MB / 0.8375 GB, free: 14.74 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.02903, allocations: 55.41 kB / 0.8376 GB, free: 14.68 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.02926, allocations: 419 kB / 0.838 GB, free: 14.25 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.02928, allocations: 33.7 kB / 0.838 GB, free: 14.21 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.02942, allocations: 360.9 kB / 0.8384 GB, free: 13.85 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.723e-05/0.0295, allocations: 150.6 kB / 0.8385 GB, free: 13.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.0296, allocations: 118.1 kB / 0.8386 GB, free: 13.58 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.932e-05/0.0297, allocations: 370.6 kB / 0.839 GB, free: 13.21 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.62e-05/0.02978, allocations: 65.23 kB / 0.839 GB, free: 13.15 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.02995, allocations: 285 kB / 0.8393 GB, free: 12.77 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.0303, allocations: 417.5 kB / 0.8397 GB, free: 12.27 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.0303, allocations: 7.984 kB / 0.8397 GB, free: 12.26 MB / 0.823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000638/0.03094, allocations: 0.5545 MB / 0.8402 GB, free: 11.68 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.03096, allocations: 8 kB / 0.8403 GB, free: 11.68 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.03097, allocations: 11.94 kB / 0.8403 GB, free: 11.66 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005155/0.03149, allocations: 238.6 kB / 0.8405 GB, free: 11.41 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.03167, allocations: 99.83 kB / 0.8406 GB, free: 11.32 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003213/0.03488, allocations: 5.423 MB / 0.8459 GB, free: 5.508 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.03507, allocations: 16 kB / 0.8459 GB, free: 5.492 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.03509, allocations: 24 kB / 0.8459 GB, free: 5.469 MB / 0.823 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.03526, allocations: 148.5 kB / 0.8461 GB, free: 5.312 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.772e-05/0.03531, allocations: 51.94 kB / 0.8461 GB, free: 5.262 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005866/0.0359, allocations: 473.1 kB / 0.8466 GB, free: 4.773 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.0359, allocations: 4 kB / 0.8466 GB, free: 4.77 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.03591, allocations: 4 kB / 0.8466 GB, free: 4.766 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.03591, allocations: 3.984 kB / 0.8466 GB, free: 4.762 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009929/0.03691, allocations: 0.8836 MB / 0.8474 GB, free: 3.816 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.03691, allocations: 48 / 0.8474 GB, free: 3.816 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.553e-05/0.03699, allocations: 48.09 kB / 0.8475 GB, free: 3.77 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.985e-05/0.03708, allocations: 75.59 kB / 0.8476 GB, free: 3.695 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004661/0.03755, allocations: 238.5 kB / 0.8478 GB, free: 3.445 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.03757, allocations: 8 kB / 0.8478 GB, free: 3.438 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00304/0.04061, allocations: 5.416 MB / 0.8531 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.04061, allocations: 0 / 0.8531 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006169/0.04123, allocations: 0.6063 MB / 0.8537 GB, free: 12.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/0.04127, allocations: 11.94 kB / 0.8537 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.04138, allocations: 8 kB / 0.8537 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/0.04147, allocations: 47.8 kB / 0.8537 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.04149, allocations: 12 kB / 0.8537 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001201/0.04161, allocations: 172.4 kB / 0.8539 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-08/0.04161, allocations: 0 / 0.8539 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005405/0.04215, allocations: 196 kB / 0.8541 GB, free: 12.54 MB / 0.8386 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001237/0.04227, allocations: 90.77 kB / 0.8542 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000796/0.04307, allocations: 0.8551 MB / 0.855 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.209e-05/0.04309, allocations: 20.42 kB / 0.855 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004991/0.04359, allocations: 0.7024 MB / 0.8557 GB, free: 10.76 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.0441, allocations: 243 kB / 0.856 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/0.04746, allocations: 1.209 MB / 0.8571 GB, free: 9.27 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.04764, allocations: 202.3 kB / 0.8573 GB, free: 9.051 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000202/0.04784, allocations: 65.03 kB / 0.8574 GB, free: 8.988 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.04807, allocations: 169.3 kB / 0.8576 GB, free: 8.82 MB / 0.8386 GB Notification: Performance of SimCode: time 1.563e-06/0.04807, allocations: 0 / 0.8576 GB, free: 8.82 MB / 0.8386 GB Notification: Performance of Templates: time 0.01488/0.06295, allocations: 11.35 MB / 0.8686 GB, free: 13.66 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.513794728554785]