Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_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_9_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_9_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.001561/0.001561, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.45/1.45, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.418/2.418, allocations: 390.2 MB / 0.6646 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 59.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8026/0.8039, allocations: 140.4 MB / 0.9496 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04181/0.8457, allocations: 37.96 MB / 0.9867 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02148/0.8672, allocations: 11 MB / 0.9974 GB, free: 0.7969 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006292/0.8736, allocations: 151.3 kB / 0.9975 GB, free: 0.6484 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01156/0.8852, allocations: 4.352 MB / 1.002 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.00915/0.8944, allocations: 2.227 MB / 1.004 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006665/0.9011, allocations: 2.159 MB / 1.006 GB, free: 7.891 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0127/0.9138, allocations: 9.284 MB / 1.015 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01625/0.9301, allocations: 11.37 MB / 1.026 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008148/0.9383, allocations: 3.985 MB / 1.03 GB, free: 15.09 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01054/0.9488, allocations: 4.502 MB / 1.035 GB, free: 10.58 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.004149/0.953, allocations: 0.8203 MB / 1.035 GB, free: 9.758 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007553/0.9606, allocations: 1.592 MB / 1.037 GB, free: 8.164 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.00732/0.968, allocations: 3.154 MB / 1.04 GB, free: 5.004 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.01008/0.9781, allocations: 3.653 MB / 1.044 GB, free: 1.336 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01802/0.9961, allocations: 12.23 MB / 1.055 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.9962, allocations: 0 / 1.055 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.405e-06/0.9962, allocations: 0 / 1.055 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.000572/0.9968, allocations: 0 / 1.055 GB, free: 5.07 MB / 0.8106 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.02098/1.018, allocations: 6.318 MB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.018, allocations: 12.03 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007001/1.025, allocations: 1.059 MB / 1.063 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007988/1.033, allocations: 3.423 MB / 1.066 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004553/1.033, allocations: 427.7 kB / 1.066 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002879/1.036, allocations: 0.5393 MB / 1.067 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0239/1.06, allocations: 9.377 MB / 1.076 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002798/1.061, allocations: 27.8 kB / 1.076 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002014/1.063, allocations: 244 kB / 1.076 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007009/1.063, allocations: 418.9 kB / 1.077 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01749/1.081, allocations: 7.12 MB / 1.084 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05132/1.132, allocations: 41.32 MB / 1.124 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004813/1.137, allocations: 3.104 MB / 1.127 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003026/1.14, allocations: 2.137 MB / 1.129 GB, free: 5.344 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/1.14, allocations: 22 kB / 1.129 GB, free: 5.324 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.421e-05/1.14, allocations: 60.5 kB / 1.129 GB, free: 5.254 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=209): time 6.132e-06/1.14, allocations: 0 / 1.129 GB, free: 5.254 MB / 0.8887 GB Notification: Performance of matching and sorting (n=212): time 0.02428/1.165, allocations: 10.55 MB / 1.14 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.469e-05/1.165, allocations: 81.34 kB / 1.14 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002707/1.167, allocations: 2.009 MB / 1.142 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002221/1.168, allocations: 61.7 kB / 1.142 GB, free: 8.418 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001512/1.169, allocations: 2.404 MB / 1.144 GB, free: 5.98 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007106/1.17, allocations: 0.7317 MB / 1.145 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007106/1.171, allocations: 481.2 kB / 1.145 GB, free: 4.762 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.999e-05/1.171, allocations: 301.1 kB / 1.146 GB, free: 4.465 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00185/1.173, allocations: 1.372 MB / 1.147 GB, free: 3.09 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002298/1.175, allocations: 2.108 MB / 1.149 GB, free: 0.6641 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004725/1.18, allocations: 3.766 MB / 1.153 GB, free: 12.59 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/1.18, allocations: 8 kB / 1.153 GB, free: 12.58 MB / 0.92 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008366/1.188, allocations: 5.068 MB / 1.158 GB, free: 7.484 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/1.188, allocations: 12 kB / 1.158 GB, free: 7.473 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.029e-05/1.188, allocations: 24 kB / 1.158 GB, free: 7.449 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003612/1.192, allocations: 1.6 MB / 1.159 GB, free: 5.84 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/1.193, allocations: 455.2 kB / 1.16 GB, free: 5.395 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02334/1.217, allocations: 18.59 MB / 1.178 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/1.219, allocations: 147.9 kB / 1.178 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002337/1.22, allocations: 108 kB / 1.178 GB, free: 2 MB / 0.9356 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.003241/1.223, allocations: 1.937 MB / 1.18 GB, free: 52 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006305/1.223, allocations: 292.8 kB / 1.18 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007291/1.231, allocations: 4.451 MB / 1.184 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.981e-05/1.231, allocations: 23.98 kB / 1.185 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.403e-05/1.231, allocations: 16 kB / 1.185 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/1.231, allocations: 8.062 kB / 1.185 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01792/1.249, allocations: 9.672 MB / 1.194 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/1.249, allocations: 8.109 kB / 1.194 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009775/1.25, allocations: 231.6 kB / 1.194 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003303/1.253, allocations: 1.438 MB / 1.196 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/1.253, allocations: 40 kB / 1.196 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02311/1.276, allocations: 18.58 MB / 1.214 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/1.276, allocations: 4 kB / 1.214 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00761/1.284, allocations: 4.544 MB / 1.218 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001769/1.286, allocations: 0.6342 MB / 1.219 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004606/1.286, allocations: 39.98 kB / 1.219 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/1.288, allocations: 115.9 kB / 1.219 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005785/1.288, allocations: 189.6 kB / 1.219 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/1.288, allocations: 63.94 kB / 1.219 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001901/1.29, allocations: 1.319 MB / 1.221 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/1.29, allocations: 0 / 1.221 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003641/1.294, allocations: 1.137 MB / 1.222 GB, free: 4.391 MB / 0.9825 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.0003391/1.294, allocations: 172.2 kB / 1.222 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.009985/1.304, allocations: 5.903 MB / 1.228 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/1.304, allocations: 0 / 1.228 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004693/1.309, allocations: 2.93 MB / 1.23 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00401/1.313, allocations: 0.8819 MB / 1.231 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/1.33, allocations: 9.394 MB / 1.24 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004311/1.334, allocations: 3.69 MB / 1.244 GB, free: 13.21 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002283/1.337, allocations: 0.5556 MB / 1.245 GB, free: 12.65 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003954/1.337, allocations: 147.4 kB / 1.245 GB, free: 12.51 MB / 1.014 GB Notification: Performance of SimCode: time 8.31e-07/1.337, allocations: 4 kB / 1.245 GB, free: 12.5 MB / 1.014 GB Notification: Performance of Templates: time 0.6561/1.993, allocations: 52.88 MB / 1.296 GB, free: 260.3 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches