Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.001536/0.001536, allocations: 109.6 kB / 17.08 MB, free: 6.012 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.001562/0.001562, allocations: 192.7 kB / 20.03 MB, free: 3.082 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.429/1.429, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.674/2.674, allocations: 437.1 MB / 0.7177 GB, free: 4.566 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,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_3.load1.v.1.|load_sc_3.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.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,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_3.load1.v.1.|load_sc_3.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.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.91 kB / 1.028 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3134, allocations: 151.6 MB / 1.176 GB, free: 6.004 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03158/0.3451, allocations: 26.67 MB / 1.202 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01487/0.36, allocations: 8.078 MB / 1.21 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002823/0.3628, allocations: 115.4 kB / 1.21 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.007386/0.3703, allocations: 2.751 MB / 1.213 GB, free: 264 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00509/0.3754, allocations: 1.593 MB / 1.214 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005269/0.3807, allocations: 1.676 MB / 1.216 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01056/0.3913, allocations: 6.146 MB / 1.222 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01006/0.4014, allocations: 7.3 MB / 1.229 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005047/0.4064, allocations: 2.574 MB / 1.231 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005584/0.4121, allocations: 2.831 MB / 1.234 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001528/0.4136, allocations: 0.5078 MB / 1.235 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00354/0.4172, allocations: 1.283 MB / 1.236 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.003012/0.4202, allocations: 2.054 MB / 1.238 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.004226/0.4245, allocations: 2.385 MB / 1.24 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01083/0.4353, allocations: 8.071 MB / 1.248 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.4354, allocations: 0 / 1.248 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4354, allocations: 0 / 1.248 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000251/0.4356, allocations: 0 / 1.248 GB, free: 11.65 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01206/0.4477, allocations: 4.347 MB / 1.252 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.4478, allocations: 8.031 kB / 1.252 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004737/0.4525, allocations: 0.8218 MB / 1.253 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005548/0.4581, allocations: 2.586 MB / 1.256 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002635/0.4584, allocations: 279.6 kB / 1.256 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001144/0.4595, allocations: 376.6 kB / 1.256 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6546/1.114, allocations: 5.985 MB / 1.262 GB, free: 73.36 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001455/1.114, allocations: 16.78 kB / 1.262 GB, free: 73.36 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004359/1.115, allocations: 159.4 kB / 1.262 GB, free: 73.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007014/1.116, allocations: 285.9 kB / 1.263 GB, free: 73.21 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/1.126, allocations: 4.521 MB / 1.267 GB, free: 71.64 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02972/1.155, allocations: 27.51 MB / 1.294 GB, free: 49.37 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/1.157, allocations: 1.11 MB / 1.295 GB, free: 48.95 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/1.159, allocations: 1.025 MB / 1.296 GB, free: 48.56 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.63e-05/1.159, allocations: 11.62 kB / 1.296 GB, free: 48.56 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/1.159, allocations: 49.36 kB / 1.296 GB, free: 48.51 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=110): time 4.478e-06/1.159, allocations: 0 / 1.296 GB, free: 48.51 MB / 0.9981 GB Notification: Performance of matching and sorting (n=131): time 0.02293/1.182, allocations: 9.716 MB / 1.306 GB, free: 44.29 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/1.182, allocations: 66.41 kB / 1.306 GB, free: 44.22 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002567/1.184, allocations: 1.5 MB / 1.307 GB, free: 43.67 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002987/1.185, allocations: 47.8 kB / 1.307 GB, free: 43.62 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001252/1.186, allocations: 1.719 MB / 1.309 GB, free: 42.51 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005907/1.187, allocations: 495.4 kB / 1.309 GB, free: 42.13 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000547/1.187, allocations: 326 kB / 1.31 GB, free: 41.97 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.896e-05/1.187, allocations: 305.7 kB / 1.31 GB, free: 41.67 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/1.189, allocations: 0.9155 MB / 1.311 GB, free: 41.33 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/1.19, allocations: 1.462 MB / 1.312 GB, free: 40.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003228/1.193, allocations: 2.553 MB / 1.315 GB, free: 38.69 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.547e-05/1.194, allocations: 4.531 kB / 1.315 GB, free: 38.69 MB / 0.9981 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006588/1.2, allocations: 3.296 MB / 1.318 GB, free: 37.32 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.301e-05/1.2, allocations: 16 kB / 1.318 GB, free: 37.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.269e-05/1.2, allocations: 17.92 kB / 1.318 GB, free: 37.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002485/1.203, allocations: 0.7437 MB / 1.319 GB, free: 37.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/1.205, allocations: 384.7 kB / 1.319 GB, free: 37.04 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01448/1.219, allocations: 17.06 MB / 1.336 GB, free: 22.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/1.221, allocations: 101.5 kB / 1.336 GB, free: 22.33 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000177/1.222, allocations: 72.34 kB / 1.336 GB, free: 22.32 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002418/1.224, allocations: 1.316 MB / 1.337 GB, free: 21.65 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005531/1.225, allocations: 207.8 kB / 1.337 GB, free: 21.55 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005018/1.23, allocations: 2.787 MB / 1.34 GB, free: 19.88 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/1.23, allocations: 12.69 kB / 1.34 GB, free: 19.88 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.858e-05/1.23, allocations: 7.094 kB / 1.34 GB, free: 19.88 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/1.23, allocations: 7.984 kB / 1.34 GB, free: 19.87 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/1.241, allocations: 6.219 MB / 1.346 GB, free: 16.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/1.241, allocations: 3.906 kB / 1.346 GB, free: 16.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/1.242, allocations: 231.9 kB / 1.346 GB, free: 16.01 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001894/1.244, allocations: 0.6714 MB / 1.347 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001461/1.244, allocations: 33.16 kB / 1.347 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01163/1.256, allocations: 16.79 MB / 1.363 GB, free: 32 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.256, allocations: 7.781 kB / 1.364 GB, free: 32 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006834/1.262, allocations: 4.018 MB / 1.367 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/1.264, allocations: 468.3 kB / 1.368 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002514/1.264, allocations: 39.14 kB / 1.368 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009266/1.265, allocations: 82.05 kB / 1.368 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003456/1.265, allocations: 113.6 kB / 1.368 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.534e-05/1.265, allocations: 42 kB / 1.368 GB, free: 13.11 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001516/1.267, allocations: 0.9947 MB / 1.369 GB, free: 12.58 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.267, allocations: 0 / 1.369 GB, free: 12.58 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002592/1.27, allocations: 0.6855 MB / 1.37 GB, free: 12.53 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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/1.27, allocations: 148.7 kB / 1.37 GB, free: 12.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006348/1.276, allocations: 3.531 MB / 1.373 GB, free: 9.074 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/1.276, allocations: 4 kB / 1.373 GB, free: 9.07 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003816/1.28, allocations: 2.296 MB / 1.376 GB, free: 6.664 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003519/1.284, allocations: 0.6722 MB / 1.376 GB, free: 6.023 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/1.297, allocations: 7.071 MB / 1.383 GB, free: 14.86 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003862/1.301, allocations: 2.719 MB / 1.386 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007172/1.302, allocations: 131.4 kB / 1.386 GB, free: 11.98 MB / 1.029 GB Notification: Performance of SimCode: time 1.332e-06/1.302, allocations: 0 / 1.386 GB, free: 11.98 MB / 1.029 GB Notification: Performance of Templates: time 0.2448/1.547, allocations: 209.9 MB / 1.591 GB, free: 10.01 MB / 1.232 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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: 20.521608300041407]