Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 101.8 kB / 16.27 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 188.3 kB / 17.2 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.616/2.616, allocations: 469.4 MB / 0.7427 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.00151, allocations: 67.98 kB / 0.9088 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.323, allocations: 159.1 MB / 1.064 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.5916/0.9147, allocations: 26.64 MB / 1.09 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01495/0.9297, allocations: 8.079 MB / 1.098 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003822/0.9335, allocations: 114.6 kB / 1.098 GB, free: 6.348 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.007775/0.9414, allocations: 2.762 MB / 1.101 GB, free: 4.676 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006373/0.9478, allocations: 1.582 MB / 1.102 GB, free: 3.703 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005874/0.9537, allocations: 1.676 MB / 1.104 GB, free: 2.762 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01046/0.9642, allocations: 6.134 MB / 1.11 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01437/0.9786, allocations: 7.416 MB / 1.117 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006865/0.9855, allocations: 2.561 MB / 1.12 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006964/0.9926, allocations: 2.835 MB / 1.123 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002552/0.9952, allocations: 0.5085 MB / 1.123 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005845/1.001, allocations: 1.28 MB / 1.124 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00497/1.006, allocations: 2.049 MB / 1.126 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.008751/1.015, allocations: 2.384 MB / 1.129 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01652/1.031, allocations: 8.006 MB / 1.137 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/1.031, allocations: 0 / 1.137 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.826e-06/1.031, allocations: 0 / 1.137 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0003767/1.032, allocations: 4 kB / 1.137 GB, free: 5.262 MB / 0.8575 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.0174/1.049, allocations: 4.227 MB / 1.141 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/1.049, allocations: 9.562 kB / 1.141 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00656/1.056, allocations: 0.8067 MB / 1.141 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007114/1.063, allocations: 2.421 MB / 1.144 GB, free: 400 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003393/1.063, allocations: 274.3 kB / 1.144 GB, free: 272 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00208/1.066, allocations: 372.9 kB / 1.144 GB, free: 140 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01677/1.082, allocations: 5.995 MB / 1.15 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00017/1.083, allocations: 18.69 kB / 1.15 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008884/1.083, allocations: 158.4 kB / 1.15 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007084/1.084, allocations: 285.4 kB / 1.151 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01199/1.096, allocations: 4.527 MB / 1.155 GB, free: 9.855 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03777/1.134, allocations: 27.66 MB / 1.182 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/1.136, allocations: 1.125 MB / 1.183 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/1.137, allocations: 1.023 MB / 1.184 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-05/1.137, allocations: 9 kB / 1.184 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/1.137, allocations: 55.55 kB / 1.184 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=110): time 2.845e-06/1.137, allocations: 3.938 kB / 1.184 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=131): time 0.02311/1.161, allocations: 9.655 MB / 1.194 GB, free: 3.18 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/1.161, allocations: 64.72 kB / 1.194 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/1.163, allocations: 1.494 MB / 1.195 GB, free: 1.609 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002343/1.163, allocations: 49.7 kB / 1.195 GB, free: 1.555 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001252/1.164, allocations: 1.675 MB / 1.197 GB, free: 15.85 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005599/1.165, allocations: 465.4 kB / 1.197 GB, free: 15.39 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005431/1.166, allocations: 331.1 kB / 1.198 GB, free: 15.06 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.166, allocations: 309.1 kB / 1.198 GB, free: 14.76 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/1.167, allocations: 0.9135 MB / 1.199 GB, free: 13.84 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/1.169, allocations: 1.463 MB / 1.2 GB, free: 12.14 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003333/1.172, allocations: 2.55 MB / 1.203 GB, free: 9.352 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.188e-06/1.172, allocations: 4 kB / 1.203 GB, free: 9.348 MB / 0.92 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006218/1.178, allocations: 3.286 MB / 1.206 GB, free: 6.023 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.877e-05/1.179, allocations: 16.06 kB / 1.206 GB, free: 6.008 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.688e-05/1.179, allocations: 16 kB / 1.206 GB, free: 5.992 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00275/1.181, allocations: 0.7451 MB / 1.207 GB, free: 5.219 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/1.183, allocations: 383.4 kB / 1.207 GB, free: 4.844 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01741/1.201, allocations: 17.05 MB / 1.224 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/1.203, allocations: 99.91 kB / 1.224 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001809/1.203, allocations: 72 kB / 1.224 GB, free: 2.355 MB / 0.9356 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.002974/1.206, allocations: 1.319 MB / 1.225 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005222/1.207, allocations: 205.6 kB / 1.225 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005199/1.212, allocations: 2.784 MB / 1.228 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/1.212, allocations: 16 kB / 1.228 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/1.212, allocations: 8 kB / 1.228 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/1.212, allocations: 8.156 kB / 1.228 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/1.223, allocations: 6.22 MB / 1.234 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/1.223, allocations: 4 kB / 1.234 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/1.224, allocations: 239.6 kB / 1.235 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001947/1.226, allocations: 0.6677 MB / 1.235 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/1.226, allocations: 36 kB / 1.235 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01607/1.242, allocations: 16.79 MB / 1.252 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/1.242, allocations: 8 kB / 1.252 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006618/1.249, allocations: 4.008 MB / 1.256 GB, free: 444 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/1.25, allocations: 450.8 kB / 1.256 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002996/1.25, allocations: 47.78 kB / 1.256 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009379/1.251, allocations: 83.89 kB / 1.256 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003239/1.252, allocations: 116.7 kB / 1.256 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.803e-05/1.252, allocations: 40 kB / 1.256 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00139/1.253, allocations: 0.9942 MB / 1.257 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.11e-07/1.253, allocations: 0 / 1.257 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002527/1.256, allocations: 0.6836 MB / 1.258 GB, free: 14.02 MB / 0.9825 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.0002956/1.256, allocations: 157 kB / 1.258 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006684/1.263, allocations: 4.104 MB / 1.262 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/1.263, allocations: 0 / 1.262 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003358/1.266, allocations: 2.28 MB / 1.264 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003382/1.27, allocations: 0.6733 MB / 1.265 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/1.283, allocations: 7.044 MB / 1.272 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003196/1.286, allocations: 2.722 MB / 1.274 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006606/1.287, allocations: 127.4 kB / 1.275 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of SimCode: time 1.072e-06/1.287, allocations: 0 / 1.275 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of Templates: time 0.2051/1.492, allocations: 209.6 MB / 1.479 GB, free: 10.87 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches