Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 107.9 kB / 16.41 MB, free: 6.488 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.002125/0.002126, allocations: 183 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.417/1.417, 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.266/2.266, allocations: 390.2 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 59.91 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9511/0.9526, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04497/0.9976, allocations: 35.12 MB / 1.123 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02165/1.019, allocations: 9.943 MB / 1.133 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006123/1.025, allocations: 144.1 kB / 1.133 GB, free: 6.863 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01173/1.037, allocations: 3.793 MB / 1.136 GB, free: 4.562 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.009147/1.046, allocations: 2.039 MB / 1.138 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.007536/1.054, allocations: 1.965 MB / 1.14 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01478/1.069, allocations: 7.978 MB / 1.148 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0176/1.086, allocations: 9.522 MB / 1.157 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009553/1.096, allocations: 3.43 MB / 1.161 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009524/1.106, allocations: 3.734 MB / 1.164 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.003723/1.109, allocations: 0.6784 MB / 1.165 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007647/1.117, allocations: 1.442 MB / 1.167 GB, free: 7.172 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.006449/1.124, allocations: 2.619 MB / 1.169 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.01059/1.134, allocations: 3.103 MB / 1.172 GB, free: 3.453 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0197/1.154, allocations: 10.38 MB / 1.182 GB, free: 11.92 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/1.154, allocations: 1.156 kB / 1.182 GB, free: 11.92 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.994e-06/1.154, allocations: 0 / 1.182 GB, free: 11.92 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004552/1.154, allocations: 0 / 1.182 GB, free: 11.92 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.02166/1.176, allocations: 5.404 MB / 1.188 GB, free: 8.34 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/1.176, allocations: 9.531 kB / 1.188 GB, free: 8.34 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00742/1.184, allocations: 0.9723 MB / 1.189 GB, free: 7.652 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008964/1.193, allocations: 3.182 MB / 1.192 GB, free: 4.414 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004217/1.193, allocations: 357.9 kB / 1.192 GB, free: 4.062 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002676/1.196, allocations: 464.3 kB / 1.192 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02286/1.219, allocations: 7.903 MB / 1.2 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002609/1.219, allocations: 27.72 kB / 1.2 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002402/1.221, allocations: 215.9 kB / 1.2 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006296/1.222, allocations: 365.1 kB / 1.201 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01423/1.236, allocations: 5.933 MB / 1.206 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0502/1.287, allocations: 35.96 MB / 1.242 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003942/1.291, allocations: 2.127 MB / 1.244 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002237/1.293, allocations: 1.484 MB / 1.245 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/1.293, allocations: 13.31 kB / 1.245 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.345e-05/1.293, allocations: 55.81 kB / 1.245 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=157): time 3.687e-06/1.293, allocations: 0 / 1.245 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=160): time 0.01613/1.309, allocations: 7.544 MB / 1.253 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/1.309, allocations: 64.72 kB / 1.253 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003392/1.313, allocations: 1.868 MB / 1.254 GB, free: 120 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003042/1.313, allocations: 57.64 kB / 1.255 GB, free: 56 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001528/1.315, allocations: 2.127 MB / 1.257 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000757/1.315, allocations: 0.5546 MB / 1.257 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008541/1.316, allocations: 399.7 kB / 1.258 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.863e-05/1.316, allocations: 301.1 kB / 1.258 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001677/1.318, allocations: 1.062 MB / 1.259 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002213/1.32, allocations: 1.76 MB / 1.261 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004042/1.324, allocations: 3.049 MB / 1.264 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.888e-05/1.324, allocations: 8 kB / 1.264 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00693/1.331, allocations: 3.921 MB / 1.267 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/1.331, allocations: 16 kB / 1.267 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.235e-05/1.331, allocations: 28.14 kB / 1.267 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00258/1.334, allocations: 0.935 MB / 1.268 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/1.336, allocations: 427.2 kB / 1.269 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02121/1.357, allocations: 22.75 MB / 1.291 GB, free: 8.289 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002681/1.36, allocations: 127.9 kB / 1.291 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00047/1.36, allocations: 92 kB / 1.291 GB, free: 8.074 MB / 1.029 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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%), (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 prepare postOptimizeDAE: time 0.003819/1.364, allocations: 1.652 MB / 1.293 GB, free: 6.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008424/1.365, allocations: 256.9 kB / 1.293 GB, free: 6.156 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006324/1.371, allocations: 3.26 MB / 1.296 GB, free: 2.848 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-05/1.371, allocations: 19.94 kB / 1.296 GB, free: 2.828 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.425e-05/1.371, allocations: 8 kB / 1.296 GB, free: 2.82 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-05/1.371, allocations: 15.91 kB / 1.296 GB, free: 2.805 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01852/1.39, allocations: 7.548 MB / 1.304 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/1.39, allocations: 4 kB / 1.304 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/1.391, allocations: 219.6 kB / 1.304 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00245/1.393, allocations: 0.8969 MB / 1.305 GB, free: 9.945 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002113/1.394, allocations: 32 kB / 1.305 GB, free: 9.914 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02134/1.415, allocations: 22.72 MB / 1.327 GB, free: 1.508 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.747e-06/1.415, allocations: 15.98 kB / 1.327 GB, free: 1.492 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006521/1.422, allocations: 3.379 MB / 1.33 GB, free: 14 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001672/1.423, allocations: 0.5215 MB / 1.331 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009023/1.424, allocations: 39.92 kB / 1.331 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0017/1.426, allocations: 99.83 kB / 1.331 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004622/1.426, allocations: 137 kB / 1.331 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/1.427, allocations: 44 kB / 1.331 GB, free: 13.14 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00231/1.429, allocations: 1.229 MB / 1.332 GB, free: 11.9 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.8e-07/1.429, allocations: 0 / 1.332 GB, free: 11.9 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.004261/1.433, allocations: 0.9102 MB / 1.333 GB, free: 10.99 MB / 1.076 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003991/1.434, allocations: 155 kB / 1.333 GB, free: 10.83 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.007087/1.441, allocations: 4.425 MB / 1.338 GB, free: 6.254 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/1.441, allocations: 4.062 kB / 1.338 GB, free: 6.25 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00471/1.445, allocations: 2.992 MB / 1.341 GB, free: 3.102 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005392/1.451, allocations: 0.8277 MB / 1.341 GB, free: 2.289 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01866/1.47, allocations: 8.219 MB / 1.349 GB, free: 9.977 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00433/1.474, allocations: 3.275 MB / 1.353 GB, free: 6.668 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007872/1.475, allocations: 155.4 kB / 1.353 GB, free: 6.516 MB / 1.092 GB Notification: Performance of SimCode: time 1.162e-06/1.475, allocations: 0 / 1.353 GB, free: 6.516 MB / 1.092 GB Notification: Performance of Templates: time 0.962/2.437, allocations: 339.9 MB / 1.685 GB, free: 374.8 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches