Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001857/0.001857, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.002322/0.002322, allocations: 213.6 kB / 22.99 MB, free: 4.957 MB / 14.72 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.107/3.107, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_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.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 72.16 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2824, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01887/0.3013, allocations: 13.94 MB / 1.341 GB, free: 3.012 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01631/0.3176, allocations: 9.971 MB / 1.35 GB, free: 9.012 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.3189, allocations: 87.19 kB / 1.351 GB, free: 8.926 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004849/0.3238, allocations: 1.687 MB / 1.352 GB, free: 7.234 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005344/0.3291, allocations: 1.857 MB / 1.354 GB, free: 5.379 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002057/0.3312, allocations: 0.7562 MB / 1.355 GB, free: 4.621 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004004/0.3352, allocations: 2.77 MB / 1.357 GB, free: 1.844 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001739/0.3369, allocations: 1.203 MB / 1.359 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002493/0.3394, allocations: 1.726 MB / 1.36 GB, free: 14.87 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001775/0.3412, allocations: 1.109 MB / 1.361 GB, free: 13.75 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002725/0.3415, allocations: 164 kB / 1.362 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/0.3429, allocations: 0.7252 MB / 1.362 GB, free: 12.87 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006301/0.3435, allocations: 0.6152 MB / 1.363 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008839/0.3444, allocations: 0.7619 MB / 1.364 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003352/0.3478, allocations: 2.767 MB / 1.366 GB, free: 8.707 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3478, allocations: 0 / 1.366 GB, free: 8.707 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3478, allocations: 0 / 1.366 GB, free: 8.707 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.029e-05/0.3478, allocations: 0 / 1.366 GB, free: 8.707 MB / 1.061 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.004237/0.3521, allocations: 2.147 MB / 1.368 GB, free: 6.52 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3521, allocations: 12.03 kB / 1.368 GB, free: 6.508 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01187/0.364, allocations: 2.113 MB / 1.37 GB, free: 4.391 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003011/0.367, allocations: 1.189 MB / 1.372 GB, free: 3.152 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.618e-05/0.3671, allocations: 82.69 kB / 1.372 GB, free: 3.07 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003409/0.3674, allocations: 128.1 kB / 1.372 GB, free: 2.945 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006261/0.3737, allocations: 2.881 MB / 1.375 GB, free: 15.86 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.723e-05/0.3737, allocations: 15.89 kB / 1.375 GB, free: 15.85 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001829/0.3739, allocations: 51.97 kB / 1.375 GB, free: 15.8 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006724/0.3746, allocations: 190.1 kB / 1.375 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007868/0.3824, allocations: 2.791 MB / 1.378 GB, free: 12.81 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01516/0.3976, allocations: 8.115 MB / 1.386 GB, free: 4.535 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00668/0.4043, allocations: 2.179 MB / 1.388 GB, free: 2.348 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003194/0.4075, allocations: 1.195 MB / 1.389 GB, free: 1.152 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.285e-05/0.4075, allocations: 12.94 kB / 1.389 GB, free: 1.141 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.4076, allocations: 47.56 kB / 1.389 GB, free: 1.086 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 2.925e-06/0.4076, allocations: 0 / 1.389 GB, free: 1.086 MB / 1.076 GB Notification: Performance of matching and sorting (n=153): time 0.06129/0.4689, allocations: 15.99 MB / 1.404 GB, free: 1.047 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.4689, allocations: 68.66 kB / 1.405 GB, free: 0.9648 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/0.4705, allocations: 1.039 MB / 1.406 GB, free: 15.91 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001851/0.4706, allocations: 49.7 kB / 1.406 GB, free: 15.86 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006554/0.4713, allocations: 0.7635 MB / 1.406 GB, free: 15.09 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000585/0.4719, allocations: 0.5344 MB / 1.407 GB, free: 14.55 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006435/0.4725, allocations: 291.4 kB / 1.407 GB, free: 14.26 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.4727, allocations: 305.1 kB / 1.407 GB, free: 13.96 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003649/0.4763, allocations: 1.514 MB / 1.409 GB, free: 12.44 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003812/0.4801, allocations: 1.78 MB / 1.411 GB, free: 10.57 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007508/0.4876, allocations: 3.362 MB / 1.414 GB, free: 7.109 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.4876, allocations: 0 / 1.414 GB, free: 7.109 MB / 1.107 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01383/0.5015, allocations: 5.199 MB / 1.419 GB, free: 1.871 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.5015, allocations: 8.875 kB / 1.419 GB, free: 1.863 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.5015, allocations: 8 kB / 1.419 GB, free: 1.855 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00754/0.5091, allocations: 1.884 MB / 1.421 GB, free: 15.95 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002019/0.5111, allocations: 407.3 kB / 1.421 GB, free: 15.55 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03217/0.5433, allocations: 22.84 MB / 1.444 GB, free: 7.898 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002543/0.5458, allocations: 311.4 kB / 1.444 GB, free: 7.594 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002075/0.546, allocations: 67.97 kB / 1.444 GB, free: 7.527 MB / 1.139 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009045/0.5469, allocations: 465.5 kB / 1.444 GB, free: 7.062 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003548/0.5473, allocations: 171 kB / 1.445 GB, free: 6.895 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01448/0.5617, allocations: 5.244 MB / 1.45 GB, free: 1.605 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.5618, allocations: 12.47 kB / 1.45 GB, free: 1.594 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-05/0.5618, allocations: 24 kB / 1.45 GB, free: 1.57 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.166e-05/0.5618, allocations: 7.969 kB / 1.45 GB, free: 1.562 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0176/0.5794, allocations: 6.794 MB / 1.456 GB, free: 10.66 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.655e-05/0.5794, allocations: 4 kB / 1.456 GB, free: 10.66 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001764/0.5812, allocations: 355.3 kB / 1.457 GB, free: 10.31 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006526/0.5877, allocations: 1.693 MB / 1.458 GB, free: 8.594 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002093/0.5879, allocations: 51.89 kB / 1.458 GB, free: 8.543 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03178/0.6197, allocations: 22.03 MB / 1.48 GB, free: 1.711 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/0.6197, allocations: 7.969 kB / 1.48 GB, free: 1.703 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0132/0.6329, allocations: 4.817 MB / 1.485 GB, free: 12.8 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/0.6342, allocations: 406.7 kB / 1.485 GB, free: 12.4 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002817/0.6345, allocations: 28 kB / 1.485 GB, free: 12.38 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002132/0.6366, allocations: 323.5 kB / 1.485 GB, free: 12.06 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005116/0.6372, allocations: 164.9 kB / 1.485 GB, free: 11.89 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/0.6373, allocations: 51.97 kB / 1.486 GB, free: 11.84 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001014/0.6383, allocations: 0.6879 MB / 1.486 GB, free: 11.15 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6383, allocations: 0 / 1.486 GB, free: 11.15 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001982/0.6403, allocations: 0.6523 MB / 1.487 GB, free: 10.5 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (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.0003098/0.6406, allocations: 143.1 kB / 1.487 GB, free: 10.35 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01156/0.6522, allocations: 4.92 MB / 1.492 GB, free: 5.328 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.6522, allocations: 3.828 kB / 1.492 GB, free: 5.328 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.007266/0.6594, allocations: 3.28 MB / 1.495 GB, free: 1.945 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/0.6617, allocations: 0.5049 MB / 1.495 GB, free: 1.453 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009291/0.671, allocations: 4.346 MB / 1.5 GB, free: 13.05 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/0.6723, allocations: 0.9877 MB / 1.501 GB, free: 12.02 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.00143/0.6737, allocations: 373.2 kB / 1.501 GB, free: 11.65 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004021/0.6741, allocations: 99.38 kB / 1.501 GB, free: 11.55 MB / 1.201 GB Notification: Performance of SimCode: time 1.092e-06/0.6741, allocations: 0 / 1.501 GB, free: 11.55 MB / 1.201 GB Notification: Performance of Templates: time 0.07649/0.7506, allocations: 49.5 MB / 1.549 GB, free: 10.75 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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: 9.832903385002282]