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.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.00125/0.00125, allocations: 110 kB / 18.93 MB, free: 2.945 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.001388/0.001388, allocations: 189.8 kB / 22.23 MB, free: 5.16 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.407/1.407, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.092/3.092, allocations: 0.4893 GB / 0.7884 GB, free: 33.15 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.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_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.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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 65.39 kB / 1.145 GB, free: 30.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3134, allocations: 174.9 MB / 1.316 GB, free: 9.711 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01909/0.3324, allocations: 15.33 MB / 1.331 GB, free: 10.32 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01613/0.3486, allocations: 10.72 MB / 1.341 GB, free: 15.57 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.3499, allocations: 75.31 kB / 1.342 GB, free: 15.49 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004591/0.3545, allocations: 1.765 MB / 1.343 GB, free: 13.72 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005546/0.3601, allocations: 1.863 MB / 1.345 GB, free: 11.86 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002211/0.3623, allocations: 0.7671 MB / 1.346 GB, free: 11.09 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004519/0.3668, allocations: 2.766 MB / 1.349 GB, free: 8.316 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001966/0.3688, allocations: 0.9978 MB / 1.35 GB, free: 7.277 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002774/0.3715, allocations: 1.559 MB / 1.351 GB, free: 5.715 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002542/0.3741, allocations: 1.226 MB / 1.352 GB, free: 4.484 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005962/0.3747, allocations: 160 kB / 1.352 GB, free: 4.328 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002157/0.3768, allocations: 0.8033 MB / 1.353 GB, free: 3.523 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001143/0.378, allocations: 0.623 MB / 1.354 GB, free: 2.898 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002066/0.38, allocations: 0.9561 MB / 1.355 GB, free: 1.938 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005057/0.3851, allocations: 2.771 MB / 1.357 GB, free: 15.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3851, allocations: 0 / 1.357 GB, free: 15.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3851, allocations: 0 / 1.357 GB, free: 15.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001067/0.3852, allocations: 0 / 1.357 GB, free: 15.16 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.005526/0.3907, allocations: 2.159 MB / 1.36 GB, free: 12.96 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3908, allocations: 12.03 kB / 1.36 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.402, allocations: 2.117 MB / 1.362 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003081/0.4051, allocations: 1.228 MB / 1.363 GB, free: 9.547 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.497e-05/0.4052, allocations: 90.69 kB / 1.363 GB, free: 9.457 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004126/0.4056, allocations: 124 kB / 1.363 GB, free: 9.336 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006182/0.4118, allocations: 2.667 MB / 1.366 GB, free: 6.52 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.831e-05/0.4118, allocations: 4 kB / 1.366 GB, free: 6.516 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002084/0.4121, allocations: 67.91 kB / 1.366 GB, free: 6.449 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005933/0.4127, allocations: 190.1 kB / 1.366 GB, free: 6.262 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007496/0.4201, allocations: 2.791 MB / 1.369 GB, free: 3.461 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01701/0.4372, allocations: 10.37 MB / 1.379 GB, free: 8.527 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006455/0.4436, allocations: 2.179 MB / 1.381 GB, free: 6.336 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00315/0.4468, allocations: 1.21 MB / 1.382 GB, free: 5.125 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/0.4469, allocations: 9 kB / 1.382 GB, free: 5.117 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.447, allocations: 43.56 kB / 1.382 GB, free: 5.066 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 3.346e-06/0.447, allocations: 0 / 1.382 GB, free: 5.066 MB / 1.076 GB Notification: Performance of matching and sorting (n=153): time 0.05872/0.5057, allocations: 15.99 MB / 1.398 GB, free: 5.035 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.5058, allocations: 72.72 kB / 1.398 GB, free: 4.949 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/0.5076, allocations: 1.172 MB / 1.399 GB, free: 3.766 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002144/0.5078, allocations: 49.7 kB / 1.399 GB, free: 3.711 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008298/0.5087, allocations: 0.7645 MB / 1.4 GB, free: 2.941 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006823/0.5093, allocations: 0.5344 MB / 1.4 GB, free: 2.402 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006365/0.51, allocations: 291.5 kB / 1.4 GB, free: 2.109 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.5101, allocations: 309.1 kB / 1.401 GB, free: 1.805 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003514/0.5136, allocations: 1.51 MB / 1.402 GB, free: 300 kB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00371/0.5173, allocations: 1.78 MB / 1.404 GB, free: 14.42 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007337/0.5247, allocations: 3.362 MB / 1.407 GB, free: 10.96 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.5247, allocations: 3.938 kB / 1.407 GB, free: 10.96 MB / 1.107 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01408/0.5388, allocations: 5.219 MB / 1.412 GB, free: 5.699 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.5388, allocations: 8 kB / 1.412 GB, free: 5.691 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.5388, allocations: 4 kB / 1.412 GB, free: 5.688 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007183/0.546, allocations: 1.88 MB / 1.414 GB, free: 3.785 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/0.5479, allocations: 419.2 kB / 1.415 GB, free: 3.375 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03326/0.5812, allocations: 23.34 MB / 1.437 GB, free: 11.12 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002633/0.5838, allocations: 307.6 kB / 1.438 GB, free: 10.82 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003182/0.5841, allocations: 67.97 kB / 1.438 GB, free: 10.76 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.00107/0.5852, allocations: 470.8 kB / 1.438 GB, free: 10.29 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004968/0.5857, allocations: 187.3 kB / 1.438 GB, free: 10.11 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01409/0.5998, allocations: 5.257 MB / 1.444 GB, free: 4.801 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.5998, allocations: 16 kB / 1.444 GB, free: 4.785 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.69e-05/0.5999, allocations: 16 kB / 1.444 GB, free: 4.77 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.228e-05/0.5999, allocations: 7.969 kB / 1.444 GB, free: 4.762 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01788/0.6178, allocations: 7.32 MB / 1.451 GB, free: 13.32 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/0.6178, allocations: 4 kB / 1.451 GB, free: 13.32 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/0.6194, allocations: 355.3 kB / 1.451 GB, free: 12.97 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006349/0.6258, allocations: 1.701 MB / 1.453 GB, free: 11.25 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002465/0.626, allocations: 51.89 kB / 1.453 GB, free: 11.2 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03115/0.6572, allocations: 22.49 MB / 1.475 GB, free: 3.797 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.6572, allocations: 4 kB / 1.475 GB, free: 3.793 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.013/0.6702, allocations: 4.833 MB / 1.479 GB, free: 14.87 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/0.6715, allocations: 426.6 kB / 1.48 GB, free: 14.45 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004385/0.6719, allocations: 28 kB / 1.48 GB, free: 14.43 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002121/0.674, allocations: 323.5 kB / 1.48 GB, free: 14.11 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005893/0.6746, allocations: 164.8 kB / 1.48 GB, free: 13.95 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/0.6748, allocations: 51.97 kB / 1.48 GB, free: 13.89 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.00134/0.6761, allocations: 0.7938 MB / 1.481 GB, free: 13.1 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6761, allocations: 0 / 1.481 GB, free: 13.1 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002394/0.6785, allocations: 0.6562 MB / 1.482 GB, free: 12.45 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.0003627/0.6789, allocations: 144.8 kB / 1.482 GB, free: 12.3 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0115/0.6904, allocations: 4.913 MB / 1.487 GB, free: 7.277 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/0.6904, allocations: 4.375 kB / 1.487 GB, free: 7.273 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.007438/0.6978, allocations: 3.269 MB / 1.49 GB, free: 3.906 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002757/0.7006, allocations: 0.5565 MB / 1.491 GB, free: 3.363 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009756/0.7103, allocations: 4.367 MB / 1.495 GB, free: 14.95 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00164/0.712, allocations: 1.568 MB / 1.496 GB, free: 13.34 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001585/0.7136, allocations: 386.4 kB / 1.497 GB, free: 12.95 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004546/0.714, allocations: 107.4 kB / 1.497 GB, free: 12.85 MB / 1.201 GB Notification: Performance of SimCode: time 1.082e-06/0.714, allocations: 0 / 1.497 GB, free: 12.85 MB / 1.201 GB Notification: Performance of Templates: time 0.07905/0.7931, allocations: 47.1 MB / 1.543 GB, free: 14.2 MB / 1.248 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.245559997856617]