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.0013/0.0013, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001345/0.001345, allocations: 194.2 kB / 16.14 MB, free: 6.645 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.491/1.491, allocations: 222.9 MB / 239.8 MB, free: 4.5 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.535/2.535, allocations: 390.2 MB / 0.6642 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 60.14 kB / 0.8119 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8548/0.857, allocations: 140.4 MB / 0.9489 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04145/0.8984, allocations: 37.61 MB / 0.9857 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02161/0.9201, allocations: 10.96 MB / 0.9964 GB, free: 1.422 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005817/0.926, allocations: 143.2 kB / 0.9965 GB, free: 1.281 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01082/0.9368, allocations: 4.068 MB / 1 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007943/0.9448, allocations: 2.088 MB / 1.003 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006838/0.9517, allocations: 1.978 MB / 1.004 GB, free: 9.137 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01485/0.9665, allocations: 13.18 MB / 1.017 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02172/0.9883, allocations: 12.45 MB / 1.029 GB, free: 15.36 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007219/0.9955, allocations: 3.406 MB / 1.033 GB, free: 11.94 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009284/1.005, allocations: 4.595 MB / 1.037 GB, free: 7.332 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.003343/1.008, allocations: 0.5625 MB / 1.038 GB, free: 6.77 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005871/1.014, allocations: 1.549 MB / 1.039 GB, free: 5.219 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.005695/1.02, allocations: 2.888 MB / 1.042 GB, free: 2.324 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.008675/1.029, allocations: 3.364 MB / 1.045 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01451/1.043, allocations: 12.07 MB / 1.057 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.043, allocations: 0 / 1.057 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.036e-06/1.043, allocations: 0 / 1.057 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0004604/1.044, allocations: 3.938 kB / 1.057 GB, free: 2.832 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.01727/1.061, allocations: 6.315 MB / 1.063 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/1.061, allocations: 12.03 kB / 1.063 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00646/1.067, allocations: 1.059 MB / 1.064 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00838/1.076, allocations: 3.423 MB / 1.068 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004415/1.076, allocations: 427.8 kB / 1.068 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002767/1.079, allocations: 0.547 MB / 1.069 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02741/1.106, allocations: 9.378 MB / 1.078 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002724/1.107, allocations: 19.81 kB / 1.078 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001999/1.109, allocations: 244 kB / 1.078 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006445/1.109, allocations: 418.9 kB / 1.079 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01628/1.126, allocations: 7.123 MB / 1.086 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05338/1.179, allocations: 41.32 MB / 1.126 GB, free: 8.352 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005022/1.184, allocations: 3.1 MB / 1.129 GB, free: 5.238 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0031/1.187, allocations: 2.134 MB / 1.131 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001593/1.188, allocations: 22 kB / 1.131 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.504e-05/1.188, allocations: 56.56 kB / 1.131 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=209): time 4.178e-06/1.188, allocations: 4 kB / 1.131 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of matching and sorting (n=212): time 0.02572/1.213, allocations: 10.56 MB / 1.141 GB, free: 8.352 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/1.213, allocations: 81.34 kB / 1.141 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003949/1.217, allocations: 2.002 MB / 1.143 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0003524/1.218, allocations: 61.7 kB / 1.143 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001855/1.22, allocations: 2.408 MB / 1.146 GB, free: 3.734 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008862/1.221, allocations: 0.724 MB / 1.147 GB, free: 3 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000987/1.222, allocations: 485.1 kB / 1.147 GB, free: 2.52 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001027/1.222, allocations: 301.1 kB / 1.147 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00214/1.224, allocations: 1.376 MB / 1.149 GB, free: 0.8438 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002728/1.227, allocations: 2.108 MB / 1.151 GB, free: 14.41 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005156/1.232, allocations: 3.766 MB / 1.154 GB, free: 10.33 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.012e-05/1.232, allocations: 4 kB / 1.154 GB, free: 10.33 MB / 0.92 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008793/1.241, allocations: 5.068 MB / 1.159 GB, free: 5.234 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.704e-05/1.241, allocations: 16 kB / 1.159 GB, free: 5.219 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.75e-05/1.241, allocations: 20 kB / 1.159 GB, free: 5.199 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00378/1.244, allocations: 1.592 MB / 1.161 GB, free: 3.598 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/1.246, allocations: 451.2 kB / 1.161 GB, free: 3.156 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02243/1.269, allocations: 17.07 MB / 1.178 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002527/1.271, allocations: 144 kB / 1.178 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005297/1.272, allocations: 112 kB / 1.178 GB, free: 1.309 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.004354/1.276, allocations: 1.951 MB / 1.18 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009262/1.277, allocations: 288.6 kB / 1.18 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008965/1.286, allocations: 4.447 MB / 1.185 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.53e-05/1.286, allocations: 20 kB / 1.185 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-05/1.286, allocations: 16 kB / 1.185 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.718e-05/1.286, allocations: 11.95 kB / 1.185 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02153/1.308, allocations: 9.668 MB / 1.194 GB, free: 0.7227 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/1.308, allocations: 4 kB / 1.194 GB, free: 0.7188 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/1.309, allocations: 235.6 kB / 1.194 GB, free: 500 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003837/1.313, allocations: 1.432 MB / 1.196 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002534/1.313, allocations: 36 kB / 1.196 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02626/1.339, allocations: 17.07 MB / 1.213 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.339, allocations: 4 kB / 1.213 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0095/1.349, allocations: 4.537 MB / 1.217 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002214/1.351, allocations: 0.6342 MB / 1.218 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009308/1.352, allocations: 43.94 kB / 1.218 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001894/1.354, allocations: 115.9 kB / 1.218 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007524/1.355, allocations: 185.6 kB / 1.218 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000205/1.355, allocations: 59.94 kB / 1.218 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002967/1.358, allocations: 1.319 MB / 1.219 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/1.358, allocations: 0 / 1.219 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.004699/1.363, allocations: 1.145 MB / 1.22 GB, free: 5.258 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.0004005/1.363, allocations: 163 kB / 1.221 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00835/1.372, allocations: 4.688 MB / 1.225 GB, free: 356 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.372, allocations: 1 kB / 1.225 GB, free: 356 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.005267/1.377, allocations: 2.913 MB / 1.228 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005071/1.382, allocations: 0.8259 MB / 1.229 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02397/1.406, allocations: 11.77 MB / 1.24 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006879/1.413, allocations: 3.69 MB / 1.244 GB, free: 12.99 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002685/1.416, allocations: 0.5556 MB / 1.244 GB, free: 12.43 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005844/1.416, allocations: 147.4 kB / 1.245 GB, free: 12.29 MB / 1.014 GB Notification: Performance of SimCode: time 1.112e-06/1.416, allocations: 4 kB / 1.245 GB, free: 12.28 MB / 1.014 GB Notification: Performance of Templates: time 0.754/2.17, allocations: 51.12 MB / 1.295 GB, free: 259.9 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