Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006669/0.006669, allocations: 99.86 kB / 15.73 MB, free: 6.055 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.001225/0.001225, allocations: 192.7 kB / 16.67 MB, free: 5.969 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.488/2.488, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.91 kB / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.014, allocations: 151.6 MB / 1.167 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03902/1.053, allocations: 34.84 MB / 1.201 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02096/1.074, allocations: 11.51 MB / 1.212 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004445/1.079, allocations: 159.2 kB / 1.212 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.01166/1.09, allocations: 4.253 MB / 1.216 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.008226/1.099, allocations: 2.092 MB / 1.218 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.007922/1.107, allocations: 2.407 MB / 1.221 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01252/1.119, allocations: 8.479 MB / 1.229 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01981/1.139, allocations: 11.13 MB / 1.24 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009012/1.148, allocations: 3.794 MB / 1.243 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009116/1.157, allocations: 4.19 MB / 1.248 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.00347/1.161, allocations: 0.7813 MB / 1.248 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006711/1.167, allocations: 2.028 MB / 1.25 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.005474/1.173, allocations: 3.053 MB / 1.253 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.008368/1.181, allocations: 3.4 MB / 1.257 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.02261/1.204, allocations: 12.01 MB / 1.268 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/1.204, allocations: 7.922 kB / 1.268 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.793e-06/1.204, allocations: 0 / 1.268 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000605/1.205, allocations: 0 / 1.268 GB, free: 11.27 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02253/1.227, allocations: 5.939 MB / 1.274 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/1.227, allocations: 8.922 kB / 1.274 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006109/1.233, allocations: 1.094 MB / 1.275 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008056/1.241, allocations: 3.471 MB / 1.279 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000313/1.242, allocations: 419.5 kB / 1.279 GB, free: 216 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001228/1.243, allocations: 0.5354 MB / 1.279 GB, free: 15.67 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01689/1.26, allocations: 9.079 MB / 1.288 GB, free: 6.277 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001482/1.26, allocations: 35.75 kB / 1.288 GB, free: 6.242 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005798/1.261, allocations: 236 kB / 1.289 GB, free: 6.012 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003464/1.261, allocations: 346.8 kB / 1.289 GB, free: 5.672 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01253/1.274, allocations: 6.826 MB / 1.296 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04755/1.321, allocations: 39.86 MB / 1.335 GB, free: 3.27 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003665/1.325, allocations: 3.112 MB / 1.338 GB, free: 24 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002636/1.328, allocations: 1.986 MB / 1.34 GB, free: 14.03 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/1.328, allocations: 18 kB / 1.34 GB, free: 14.01 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/1.328, allocations: 56.56 kB / 1.34 GB, free: 13.95 MB / 1.076 GB Notification: Performance of pre-optimization done (n=179): time 4.188e-06/1.328, allocations: 0 / 1.34 GB, free: 13.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=182): time 0.0242/1.352, allocations: 10.04 MB / 1.349 GB, free: 3.816 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/1.352, allocations: 69.41 kB / 1.349 GB, free: 3.734 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002201/1.354, allocations: 1.53 MB / 1.351 GB, free: 2.16 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002124/1.355, allocations: 49.7 kB / 1.351 GB, free: 2.105 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001505/1.356, allocations: 2.331 MB / 1.353 GB, free: 15.75 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006406/1.357, allocations: 0.6545 MB / 1.354 GB, free: 15.09 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005964/1.357, allocations: 416.1 kB / 1.354 GB, free: 14.67 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001017/1.357, allocations: 305.1 kB / 1.355 GB, free: 14.37 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001571/1.359, allocations: 1.176 MB / 1.356 GB, free: 13.19 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002002/1.361, allocations: 1.893 MB / 1.358 GB, free: 10.98 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00388/1.365, allocations: 3.367 MB / 1.361 GB, free: 7.305 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/1.365, allocations: 4 kB / 1.361 GB, free: 7.301 MB / 1.092 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007456/1.372, allocations: 4.593 MB / 1.365 GB, free: 2.684 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/1.372, allocations: 14.5 kB / 1.365 GB, free: 2.672 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.256e-05/1.372, allocations: 24 kB / 1.365 GB, free: 2.648 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003761/1.376, allocations: 1.582 MB / 1.367 GB, free: 1.059 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/1.378, allocations: 359.3 kB / 1.367 GB, free: 0.707 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02326/1.401, allocations: 18.6 MB / 1.385 GB, free: 13.55 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/1.403, allocations: 111.9 kB / 1.386 GB, free: 13.44 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/1.403, allocations: 99.98 kB / 1.386 GB, free: 13.34 MB / 1.123 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002882/1.406, allocations: 1.894 MB / 1.388 GB, free: 11.44 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004666/1.406, allocations: 238.5 kB / 1.388 GB, free: 11.2 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006658/1.413, allocations: 4.102 MB / 1.392 GB, free: 7.07 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/1.413, allocations: 16 kB / 1.392 GB, free: 7.055 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/1.413, allocations: 16 kB / 1.392 GB, free: 7.039 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-05/1.413, allocations: 11.95 kB / 1.392 GB, free: 7.027 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01578/1.429, allocations: 9.462 MB / 1.401 GB, free: 13.32 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/1.429, allocations: 4 kB / 1.401 GB, free: 13.31 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008092/1.43, allocations: 187.7 kB / 1.401 GB, free: 13.13 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003256/1.433, allocations: 1.35 MB / 1.403 GB, free: 11.77 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/1.433, allocations: 36 kB / 1.403 GB, free: 11.73 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02144/1.455, allocations: 17.37 MB / 1.42 GB, free: 9.801 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/1.455, allocations: 8 kB / 1.42 GB, free: 9.793 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006971/1.462, allocations: 4.079 MB / 1.424 GB, free: 5.621 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001833/1.464, allocations: 0.5385 MB / 1.424 GB, free: 5.062 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002716/1.464, allocations: 39.95 kB / 1.424 GB, free: 5.023 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009557/1.465, allocations: 87.89 kB / 1.424 GB, free: 4.938 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005919/1.465, allocations: 161.7 kB / 1.424 GB, free: 4.777 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/1.465, allocations: 48 kB / 1.424 GB, free: 4.73 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001427/1.467, allocations: 1.008 MB / 1.425 GB, free: 3.699 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.412e-06/1.467, allocations: 0 / 1.425 GB, free: 3.699 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.003572/1.471, allocations: 0.9882 MB / 1.426 GB, free: 2.711 MB / 1.154 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003217/1.471, allocations: 147 kB / 1.426 GB, free: 2.559 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.006922/1.478, allocations: 4.304 MB / 1.431 GB, free: 14.21 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.478, allocations: 4.188 kB / 1.431 GB, free: 14.21 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.004473/1.482, allocations: 2.692 MB / 1.433 GB, free: 11.47 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003662/1.486, allocations: 0.7734 MB / 1.434 GB, free: 10.72 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0166/1.503, allocations: 8.731 MB / 1.443 GB, free: 1.902 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004578/1.507, allocations: 3.58 MB / 1.446 GB, free: 14.29 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0017/1.509, allocations: 459.9 kB / 1.447 GB, free: 13.84 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/1.509, allocations: 115.4 kB / 1.447 GB, free: 13.72 MB / 1.186 GB Notification: Performance of SimCode: time 1.412e-06/1.509, allocations: 0 / 1.447 GB, free: 13.72 MB / 1.186 GB Notification: Performance of Templates: time 0.08856/1.598, allocations: 44.63 MB / 1.49 GB, free: 1.5 MB / 1.217 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches