Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=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_9_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_9_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.001641/0.001641, allocations: 110.6 kB / 16.41 MB, free: 6.492 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.001853/0.001853, allocations: 187 kB / 17.34 MB, free: 5.766 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.454/2.454, allocations: 390.3 MB / 0.6655 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.00146, allocations: 63.91 kB / 0.9516 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8793/0.8807, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.04662/0.9274, allocations: 26.66 MB / 1.115 GB, free: 3.523 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01713/0.9446, allocations: 8.081 MB / 1.123 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003878/0.9485, allocations: 118.9 kB / 1.123 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.008168/0.9567, allocations: 2.746 MB / 1.125 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006297/0.963, allocations: 1.591 MB / 1.127 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.006024/0.9691, allocations: 1.674 MB / 1.129 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01037/0.9794, allocations: 6.141 MB / 1.135 GB, free: 7.523 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01289/0.9924, allocations: 7.326 MB / 1.142 GB, free: 4.602 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006228/0.9986, allocations: 2.611 MB / 1.144 GB, free: 3.402 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006696/1.005, allocations: 2.835 MB / 1.147 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002243/1.008, allocations: 0.5085 MB / 1.147 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005153/1.013, allocations: 1.28 MB / 1.149 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.005159/1.018, allocations: 2.05 MB / 1.151 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.00849/1.026, allocations: 2.384 MB / 1.153 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01559/1.042, allocations: 8.061 MB / 1.161 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/1.042, allocations: 1.094 kB / 1.161 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.064e-06/1.042, allocations: 0 / 1.161 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003573/1.043, allocations: 0 / 1.161 GB, free: 11.15 MB / 0.9044 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.01581/1.058, allocations: 4.23 MB / 1.165 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1.058, allocations: 8.562 kB / 1.165 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006277/1.065, allocations: 0.8027 MB / 1.166 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007198/1.072, allocations: 2.574 MB / 1.168 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003305/1.072, allocations: 273.9 kB / 1.169 GB, free: 6.078 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001882/1.074, allocations: 378 kB / 1.169 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01889/1.093, allocations: 5.995 MB / 1.175 GB, free: 2.199 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002658/1.093, allocations: 26.77 kB / 1.175 GB, free: 2.18 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001509/1.095, allocations: 158.5 kB / 1.175 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008739/1.096, allocations: 280.8 kB / 1.175 GB, free: 1.992 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01118/1.107, allocations: 4.519 MB / 1.18 GB, free: 15.66 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03527/1.142, allocations: 27.46 MB / 1.207 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/1.144, allocations: 1.115 MB / 1.208 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/1.145, allocations: 1.023 MB / 1.209 GB, free: 352 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-05/1.145, allocations: 12.98 kB / 1.209 GB, free: 340 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/1.146, allocations: 47.56 kB / 1.209 GB, free: 284 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 3.126e-06/1.146, allocations: 0 / 1.209 GB, free: 284 kB / 0.9356 GB Notification: Performance of matching and sorting (n=131): time 0.02276/1.168, allocations: 9.66 MB / 1.218 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/1.168, allocations: 72.72 kB / 1.218 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/1.171, allocations: 1.502 MB / 1.22 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001651/1.171, allocations: 45.7 kB / 1.22 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001049/1.172, allocations: 1.663 MB / 1.221 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004565/1.172, allocations: 465.4 kB / 1.222 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005737/1.173, allocations: 331.2 kB / 1.222 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.688e-05/1.173, allocations: 305.1 kB / 1.222 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/1.174, allocations: 0.9135 MB / 1.223 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/1.176, allocations: 1.459 MB / 1.225 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003193/1.179, allocations: 2.558 MB / 1.227 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.659e-05/1.179, allocations: 8 kB / 1.227 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005844/1.185, allocations: 3.278 MB / 1.23 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/1.185, allocations: 14.5 kB / 1.23 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.637e-05/1.185, allocations: 20 kB / 1.23 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002294/1.188, allocations: 0.7452 MB / 1.231 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/1.189, allocations: 383.4 kB / 1.232 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01626/1.206, allocations: 17.04 MB / 1.248 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/1.207, allocations: 99.84 kB / 1.248 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003678/1.208, allocations: 80 kB / 1.248 GB, free: 5.598 MB / 0.9825 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.002716/1.211, allocations: 1.313 MB / 1.25 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005399/1.211, allocations: 201.7 kB / 1.25 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005293/1.216, allocations: 2.788 MB / 1.253 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/1.216, allocations: 12 kB / 1.253 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.08e-05/1.217, allocations: 12 kB / 1.253 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/1.217, allocations: 7.969 kB / 1.253 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01192/1.228, allocations: 6.216 MB / 1.259 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/1.229, allocations: 11.98 kB / 1.259 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/1.23, allocations: 227.6 kB / 1.259 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002097/1.232, allocations: 0.6718 MB / 1.26 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001517/1.232, allocations: 28 kB / 1.26 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0152/1.247, allocations: 16.78 MB / 1.276 GB, free: 7.824 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.247, allocations: 7.938 kB / 1.276 GB, free: 7.816 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006489/1.254, allocations: 4.008 MB / 1.28 GB, free: 3.699 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/1.255, allocations: 446.7 kB / 1.28 GB, free: 3.242 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006081/1.256, allocations: 39.92 kB / 1.28 GB, free: 3.203 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/1.257, allocations: 83.89 kB / 1.28 GB, free: 3.121 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003264/1.257, allocations: 112.7 kB / 1.281 GB, free: 3.012 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.912e-05/1.257, allocations: 43.94 kB / 1.281 GB, free: 2.969 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001628/1.259, allocations: 0.9942 MB / 1.282 GB, free: 1.984 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.259, allocations: 0 / 1.282 GB, free: 1.984 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002889/1.262, allocations: 0.6875 MB / 1.282 GB, free: 1.297 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.0003211/1.262, allocations: 157.9 kB / 1.282 GB, free: 1.133 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005435/1.268, allocations: 3.526 MB / 1.286 GB, free: 13.49 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/1.268, allocations: 0 / 1.286 GB, free: 13.49 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00325/1.271, allocations: 2.292 MB / 1.288 GB, free: 11.08 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003709/1.275, allocations: 0.6735 MB / 1.289 GB, free: 10.42 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/1.289, allocations: 6.949 MB / 1.295 GB, free: 3.379 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004721/1.294, allocations: 2.719 MB / 1.298 GB, free: 0.6289 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007393/1.294, allocations: 131.4 kB / 1.298 GB, free: 0.5 MB / 1.029 GB Notification: Performance of SimCode: time 1.453e-06/1.294, allocations: 4 kB / 1.298 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of Templates: time 0.1893/1.484, allocations: 209.9 MB / 1.503 GB, free: 14.52 MB / 1.248 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches