Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.001425/0.001425, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001548/0.001548, allocations: 211.4 kB / 22.24 MB, free: 5.262 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.433/3.433, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [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.002114/0.002114, allocations: 68.67 kB / 1.186 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3738, allocations: 181.8 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02682/0.4006, allocations: 19.53 MB / 1.383 GB, free: 10 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01267/0.4133, allocations: 6.477 MB / 1.389 GB, free: 3.508 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00178/0.4151, allocations: 115.1 kB / 1.389 GB, free: 3.395 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.006436/0.4215, allocations: 2.242 MB / 1.392 GB, free: 1.148 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004304/0.4258, allocations: 1.244 MB / 1.393 GB, free: 15.9 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004228/0.4301, allocations: 1.292 MB / 1.394 GB, free: 14.61 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.006734/0.4368, allocations: 4.85 MB / 1.399 GB, free: 9.746 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004663/0.4415, allocations: 3.135 MB / 1.402 GB, free: 6.539 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003228/0.4447, allocations: 2.169 MB / 1.404 GB, free: 4.363 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003426/0.4481, allocations: 2.324 MB / 1.406 GB, free: 2.031 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0006152/0.4487, allocations: 431.9 kB / 1.407 GB, free: 1.609 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.4505, allocations: 0.9401 MB / 1.408 GB, free: 0.668 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00173/0.4523, allocations: 1.715 MB / 1.409 GB, free: 14.95 MB / 1.108 GB Notification: Performance of NFVerifyModel.verify: time 0.001955/0.4542, allocations: 1.556 MB / 1.411 GB, free: 13.39 MB / 1.108 GB Notification: Performance of NFConvertDAE.convert: time 0.007302/0.4615, allocations: 6.569 MB / 1.417 GB, free: 6.797 MB / 1.108 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4615, allocations: 0 / 1.417 GB, free: 6.797 MB / 1.108 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4615, allocations: 4 kB / 1.417 GB, free: 6.793 MB / 1.108 GB Notification: Performance of Transformations before backend: time 0.0001288/0.4617, allocations: 0 / 1.417 GB, free: 6.793 MB / 1.108 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007065/0.4687, allocations: 3.458 MB / 1.421 GB, free: 3.285 MB / 1.108 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4688, allocations: 8.031 kB / 1.421 GB, free: 3.277 MB / 1.108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003412/0.4722, allocations: 0.6623 MB / 1.421 GB, free: 2.613 MB / 1.108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00467/0.4769, allocations: 1.986 MB / 1.423 GB, free: 0.5742 MB / 1.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/0.477, allocations: 226.3 kB / 1.423 GB, free: 360 kB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005602/0.4776, allocations: 296.3 kB / 1.424 GB, free: 64 kB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008536/0.4861, allocations: 5.241 MB / 1.429 GB, free: 10.54 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-05/0.4862, allocations: 23.81 kB / 1.429 GB, free: 10.52 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003377/0.4866, allocations: 132 kB / 1.429 GB, free: 10.39 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004506/0.487, allocations: 233.7 kB / 1.429 GB, free: 10.16 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006232/0.4932, allocations: 3.742 MB / 1.433 GB, free: 6.402 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01867/0.5119, allocations: 13.1 MB / 1.446 GB, free: 8.965 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001876/0.5138, allocations: 1.226 MB / 1.447 GB, free: 7.727 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/0.5153, allocations: 0.9952 MB / 1.448 GB, free: 6.73 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 6.137e-05/0.5153, allocations: 13 kB / 1.448 GB, free: 6.719 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/0.5154, allocations: 47.5 kB / 1.448 GB, free: 6.664 MB / 1.139 GB Notification: Performance of pre-optimization done (n=107): time 3.126e-06/0.5154, allocations: 0 / 1.448 GB, free: 6.664 MB / 1.139 GB Notification: Performance of matching and sorting (n=138): time 0.02452/0.5399, allocations: 8.412 MB / 1.456 GB, free: 14.25 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.54, allocations: 72.7 kB / 1.456 GB, free: 14.17 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.5414, allocations: 1.067 MB / 1.457 GB, free: 13.09 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-05/0.5415, allocations: 45.7 kB / 1.457 GB, free: 13.04 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001016/0.5425, allocations: 1.342 MB / 1.458 GB, free: 11.68 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004569/0.543, allocations: 0.4996 MB / 1.459 GB, free: 11.18 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004886/0.5435, allocations: 291.5 kB / 1.459 GB, free: 10.89 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5436, allocations: 305.1 kB / 1.46 GB, free: 10.59 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/0.545, allocations: 0.9135 MB / 1.46 GB, free: 9.672 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/0.5468, allocations: 1.326 MB / 1.462 GB, free: 8.176 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003461/0.5503, allocations: 2.422 MB / 1.464 GB, free: 5.582 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.056e-06/0.5503, allocations: 4 kB / 1.464 GB, free: 5.578 MB / 1.154 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006492/0.5568, allocations: 3.425 MB / 1.467 GB, free: 2.133 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.5568, allocations: 8 kB / 1.467 GB, free: 2.125 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.5568, allocations: 23.88 kB / 1.467 GB, free: 2.102 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003304/0.5601, allocations: 1.179 MB / 1.469 GB, free: 0.918 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009357/0.561, allocations: 263.6 kB / 1.469 GB, free: 0.6602 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01865/0.5797, allocations: 13.26 MB / 1.482 GB, free: 3.102 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.581, allocations: 91.97 kB / 1.482 GB, free: 3.012 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.5811, allocations: 67.94 kB / 1.482 GB, free: 2.945 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001953/0.5831, allocations: 1.114 MB / 1.483 GB, free: 1.82 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.5833, allocations: 163 kB / 1.483 GB, free: 1.66 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005986/0.5893, allocations: 3.129 MB / 1.486 GB, free: 14.51 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/0.5893, allocations: 15.98 kB / 1.486 GB, free: 14.49 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/0.5893, allocations: 12 kB / 1.486 GB, free: 14.48 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.5894, allocations: 3.984 kB / 1.486 GB, free: 14.48 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/0.6, allocations: 5.465 MB / 1.492 GB, free: 8.906 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.6, allocations: 8.094 kB / 1.492 GB, free: 8.898 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006199/0.6006, allocations: 155.7 kB / 1.492 GB, free: 8.746 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003/0.6036, allocations: 1.072 MB / 1.493 GB, free: 7.668 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.86e-05/0.6037, allocations: 24 kB / 1.493 GB, free: 7.645 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01814/0.6218, allocations: 12.95 MB / 1.505 GB, free: 10.39 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.6218, allocations: 4 kB / 1.505 GB, free: 10.39 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005675/0.6275, allocations: 3.115 MB / 1.509 GB, free: 7.188 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/0.6286, allocations: 350.8 kB / 1.509 GB, free: 6.848 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/0.6288, allocations: 35.98 kB / 1.509 GB, free: 6.812 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007849/0.6296, allocations: 79.91 kB / 1.509 GB, free: 6.734 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003672/0.63, allocations: 128.6 kB / 1.509 GB, free: 6.609 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.515e-05/0.6301, allocations: 44 kB / 1.509 GB, free: 6.566 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001011/0.6311, allocations: 0.702 MB / 1.51 GB, free: 5.859 MB / 1.201 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6311, allocations: 0 / 1.51 GB, free: 5.859 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002397/0.6335, allocations: 0.6562 MB / 1.51 GB, free: 5.203 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003069/0.6338, allocations: 139.1 kB / 1.511 GB, free: 5.055 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.005696/0.6395, allocations: 3.005 MB / 1.514 GB, free: 2.012 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/0.6395, allocations: 4 kB / 1.514 GB, free: 2.008 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.003275/0.6427, allocations: 1.892 MB / 1.515 GB, free: 76 kB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/0.645, allocations: 484.6 kB / 1.516 GB, free: 15.61 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009438/0.6545, allocations: 5.515 MB / 1.521 GB, free: 10.02 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002457/0.6569, allocations: 1.765 MB / 1.523 GB, free: 8.219 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001046/0.658, allocations: 345.3 kB / 1.523 GB, free: 7.875 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.6582, allocations: 87.44 kB / 1.523 GB, free: 7.789 MB / 1.217 GB Notification: Performance of SimCode: time 8.22e-07/0.6582, allocations: 0 / 1.523 GB, free: 7.789 MB / 1.217 GB Notification: Performance of Templates: time 0.05975/0.7179, allocations: 36.46 MB / 1.559 GB, free: 3.93 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.302545292302966]