Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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 10.1.1-maint.10.0.x/package.mo", uses=false) 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_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 105.8 kB / 16.27 MB, free: 6.414 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.001365/0.001366, allocations: 191.6 kB / 17.2 MB, free: 5.953 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.448/1.448, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.823/2.823, allocations: 437.1 MB / 0.7111 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001942, allocations: 64.22 kB / 0.8699 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3228, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.05033/0.3732, allocations: 37.96 MB / 1.055 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0228/0.3961, allocations: 11 MB / 1.066 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005329/0.4014, allocations: 155.3 kB / 1.066 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01235/0.4139, allocations: 4.35 MB / 1.07 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.007544/0.4215, allocations: 2.23 MB / 1.072 GB, free: 2.742 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006779/0.4283, allocations: 2.161 MB / 1.074 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.5941/1.022, allocations: 9.28 MB / 1.084 GB, free: 20.44 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02039/1.043, allocations: 11.35 MB / 1.095 GB, free: 18.36 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009922/1.053, allocations: 3.979 MB / 1.099 GB, free: 18.1 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01087/1.064, allocations: 4.509 MB / 1.103 GB, free: 17.59 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.004505/1.068, allocations: 0.8228 MB / 1.104 GB, free: 17.59 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007816/1.076, allocations: 1.587 MB / 1.105 GB, free: 17.59 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.008198/1.084, allocations: 3.153 MB / 1.108 GB, free: 16.95 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0131/1.098, allocations: 3.653 MB / 1.112 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.02305/1.121, allocations: 12.24 MB / 1.124 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/1.121, allocations: 0.75 kB / 1.124 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.943e-06/1.121, allocations: 0 / 1.124 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0005501/1.121, allocations: 0 / 1.124 GB, free: 11.07 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.0265/1.148, allocations: 6.32 MB / 1.13 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/1.148, allocations: 15.11 kB / 1.13 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008601/1.156, allocations: 1.064 MB / 1.131 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00934/1.166, allocations: 3.416 MB / 1.134 GB, free: 5.363 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004281/1.166, allocations: 426.4 kB / 1.135 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003303/1.17, allocations: 0.5461 MB / 1.135 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02572/1.195, allocations: 9.375 MB / 1.145 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002268/1.196, allocations: 24.16 kB / 1.145 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00192/1.198, allocations: 246.5 kB / 1.145 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006528/1.198, allocations: 420.8 kB / 1.145 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01817/1.216, allocations: 7.13 MB / 1.152 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06433/1.281, allocations: 41.31 MB / 1.192 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005438/1.286, allocations: 3.103 MB / 1.196 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003271/1.29, allocations: 2.136 MB / 1.198 GB, free: 7.742 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/1.29, allocations: 25.94 kB / 1.198 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.065e-05/1.29, allocations: 64.56 kB / 1.198 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=209): time 4.659e-06/1.29, allocations: 0 / 1.198 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of matching and sorting (n=212): time 0.02657/1.316, allocations: 10.56 MB / 1.208 GB, free: 13.05 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.157e-05/1.316, allocations: 81.34 kB / 1.208 GB, free: 12.96 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003493/1.32, allocations: 2.002 MB / 1.21 GB, free: 10.95 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003901/1.32, allocations: 65.7 kB / 1.21 GB, free: 10.88 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001957/1.322, allocations: 2.4 MB / 1.212 GB, free: 8.453 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009621/1.323, allocations: 0.7307 MB / 1.213 GB, free: 7.727 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008465/1.324, allocations: 485.1 kB / 1.214 GB, free: 7.246 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001537/1.324, allocations: 301.1 kB / 1.214 GB, free: 6.949 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002227/1.327, allocations: 1.376 MB / 1.215 GB, free: 5.57 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002802/1.329, allocations: 2.105 MB / 1.217 GB, free: 3.156 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005333/1.335, allocations: 3.767 MB / 1.221 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/1.335, allocations: 8 kB / 1.221 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.00911/1.344, allocations: 5.067 MB / 1.226 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/1.344, allocations: 12 kB / 1.226 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.282e-05/1.344, allocations: 24 kB / 1.226 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003778/1.348, allocations: 1.596 MB / 1.228 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001951/1.35, allocations: 456.2 kB / 1.228 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02601/1.376, allocations: 18.6 MB / 1.246 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003047/1.379, allocations: 147.9 kB / 1.246 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004219/1.379, allocations: 112 kB / 1.246 GB, free: 4.863 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004521/1.384, allocations: 1.939 MB / 1.248 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008124/1.385, allocations: 288.6 kB / 1.249 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007959/1.393, allocations: 4.451 MB / 1.253 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.269e-05/1.393, allocations: 20 kB / 1.253 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-05/1.393, allocations: 20 kB / 1.253 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-05/1.393, allocations: 7.969 kB / 1.253 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01886/1.412, allocations: 9.668 MB / 1.262 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/1.412, allocations: 8.125 kB / 1.262 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/1.413, allocations: 239 kB / 1.263 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003673/1.417, allocations: 1.434 MB / 1.264 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003449/1.417, allocations: 40 kB / 1.264 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02527/1.442, allocations: 18.57 MB / 1.282 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.442, allocations: 4.25 kB / 1.282 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008483/1.451, allocations: 4.551 MB / 1.287 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002118/1.453, allocations: 0.6265 MB / 1.287 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006781/1.454, allocations: 44 kB / 1.287 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/1.455, allocations: 115.9 kB / 1.287 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005821/1.456, allocations: 185.4 kB / 1.288 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/1.456, allocations: 60 kB / 1.288 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002152/1.458, allocations: 1.311 MB / 1.289 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.458, allocations: 0 / 1.289 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004929/1.463, allocations: 1.145 MB / 1.29 GB, free: 7.348 MB / 0.9981 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006448/1.464, allocations: 171.1 kB / 1.29 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01108/1.475, allocations: 5.911 MB / 1.296 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/1.475, allocations: 4 kB / 1.296 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005033/1.48, allocations: 2.922 MB / 1.299 GB, free: 14.23 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004496/1.484, allocations: 0.8909 MB / 1.3 GB, free: 13.36 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02005/1.504, allocations: 10.17 MB / 1.31 GB, free: 3.117 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005139/1.51, allocations: 3.792 MB / 1.313 GB, free: 15.29 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008578/1.51, allocations: 163.4 kB / 1.313 GB, free: 15.13 MB / 1.029 GB Notification: Performance of SimCode: time 5.91e-07/1.51, allocations: 0 / 1.313 GB, free: 15.13 MB / 1.029 GB Notification: Performance of Templates: time 0.2603/1.771, allocations: 171.8 MB / 1.481 GB, free: 3.566 MB / 1.186 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches