Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001881/0.001881, allocations: 194.9 kB / 16.25 MB, free: 6.641 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.439/1.439, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.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.665/2.665, allocations: 437 MB / 0.71 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 75.88 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8032/0.8044, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02847/0.8329, allocations: 23.23 MB / 1.039 GB, free: 11.43 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01291/0.8459, allocations: 6.445 MB / 1.046 GB, free: 4.969 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002903/0.8488, allocations: 87.5 kB / 1.046 GB, free: 4.883 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004703/0.8536, allocations: 1.357 MB / 1.047 GB, free: 3.523 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005512/0.8591, allocations: 1.708 MB / 1.049 GB, free: 1.809 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004317/0.8634, allocations: 1.338 MB / 1.05 GB, free: 484 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.009956/0.8734, allocations: 6.943 MB / 1.057 GB, free: 9.508 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01575/0.8892, allocations: 8.127 MB / 1.065 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006125/0.8954, allocations: 2.885 MB / 1.068 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007654/0.9031, allocations: 3.693 MB / 1.071 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.002157/0.9053, allocations: 0.5273 MB / 1.072 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004141/0.9094, allocations: 1.178 MB / 1.073 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.004707/0.9142, allocations: 2.464 MB / 1.075 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.005878/0.9201, allocations: 2.532 MB / 1.078 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01114/0.9312, allocations: 8.518 MB / 1.086 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.9313, allocations: 3.984 kB / 1.086 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.196e-06/0.9313, allocations: 0 / 1.086 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002942/0.9316, allocations: 0 / 1.086 GB, free: 11.43 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01263/0.9442, allocations: 4.439 MB / 1.09 GB, free: 6.926 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.9443, allocations: 8.031 kB / 1.091 GB, free: 6.918 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009523/0.9538, allocations: 1.677 MB / 1.092 GB, free: 5.234 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005456/0.9593, allocations: 2.571 MB / 1.095 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002406/0.9596, allocations: 283.7 kB / 1.095 GB, free: 2.332 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001192/0.9608, allocations: 356.3 kB / 1.095 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01452/0.9753, allocations: 7.487 MB / 1.103 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-05/0.9754, allocations: 15.78 kB / 1.103 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004466/0.9759, allocations: 163.9 kB / 1.103 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005733/0.9765, allocations: 483.3 kB / 1.103 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01064/0.9871, allocations: 5.705 MB / 1.109 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04979/1.037, allocations: 31.71 MB / 1.14 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003312/1.04, allocations: 2.093 MB / 1.142 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003678/1.044, allocations: 2.178 MB / 1.144 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/1.044, allocations: 17.31 kB / 1.144 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.212e-05/1.044, allocations: 51.81 kB / 1.144 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=146): time 3.988e-06/1.044, allocations: 0 / 1.144 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of matching and sorting (n=251): time 0.2847/1.329, allocations: 77 MB / 1.219 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/1.329, allocations: 81.39 kB / 1.219 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002795/1.332, allocations: 1.674 MB / 1.221 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0004967/1.333, allocations: 65.7 kB / 1.221 GB, free: 14 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.00126/1.334, allocations: 1.743 MB / 1.223 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001076/1.335, allocations: 0.8548 MB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001194/1.336, allocations: 485.2 kB / 1.224 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.058e-05/1.336, allocations: 301.1 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00383/1.34, allocations: 2.738 MB / 1.227 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004175/1.344, allocations: 3.336 MB / 1.23 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008227/1.352, allocations: 6.389 MB / 1.236 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.468e-05/1.352, allocations: 4 kB / 1.236 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.6991/2.052, allocations: 14.67 MB / 1.251 GB, free: 209.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.676e-05/2.052, allocations: 12.66 kB / 1.251 GB, free: 209.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.789e-05/2.052, allocations: 22.88 kB / 1.251 GB, free: 209.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03632/2.088, allocations: 9.299 MB / 1.26 GB, free: 208.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/2.09, allocations: 307.4 kB / 1.26 GB, free: 208.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07106/2.161, allocations: 52.37 MB / 1.311 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003117/2.164, allocations: 223.7 kB / 1.312 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003072/2.164, allocations: 96 kB / 1.312 GB, free: 180 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002504/2.167, allocations: 1.581 MB / 1.313 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005741/2.167, allocations: 249 kB / 1.313 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02723/2.195, allocations: 14.76 MB / 1.328 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.699e-05/2.195, allocations: 24 kB / 1.328 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001937/2.195, allocations: 47.98 kB / 1.328 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.737e-05/2.195, allocations: 11.95 kB / 1.328 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03575/2.231, allocations: 20.5 MB / 1.348 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.953e-05/2.231, allocations: 8.844 kB / 1.348 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007213/2.231, allocations: 171.6 kB / 1.348 GB, free: 142.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02651/2.258, allocations: 9.06 MB / 1.357 GB, free: 133.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006349/2.259, allocations: 51.94 kB / 1.357 GB, free: 133.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06599/2.325, allocations: 51.96 MB / 1.408 GB, free: 80.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/2.325, allocations: 11.94 kB / 1.408 GB, free: 80.55 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02739/2.352, allocations: 14.36 MB / 1.422 GB, free: 66.04 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002046/2.354, allocations: 0.8454 MB / 1.423 GB, free: 65.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005755/2.355, allocations: 51.98 kB / 1.423 GB, free: 65.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001978/2.357, allocations: 203.7 kB / 1.423 GB, free: 64.93 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001413/2.358, allocations: 249.2 kB / 1.423 GB, free: 64.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002057/2.358, allocations: 64 kB / 1.423 GB, free: 64.62 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001342/2.36, allocations: 1.129 MB / 1.424 GB, free: 63.47 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/2.36, allocations: 0 / 1.424 GB, free: 63.47 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004787/2.365, allocations: 1.613 MB / 1.426 GB, free: 61.86 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000433/2.365, allocations: 174.1 kB / 1.426 GB, free: 61.68 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02106/2.386, allocations: 11.32 MB / 1.437 GB, free: 50.33 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.396e-05/2.386, allocations: 4 kB / 1.437 GB, free: 50.32 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01573/2.402, allocations: 7.313 MB / 1.444 GB, free: 42.96 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00335/2.405, allocations: 0.5475 MB / 1.445 GB, free: 42.42 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01521/2.42, allocations: 10.61 MB / 1.455 GB, free: 31.75 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003133/2.424, allocations: 3.228 MB / 1.458 GB, free: 28.49 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001174/2.425, allocations: 387.3 kB / 1.459 GB, free: 28.11 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/2.425, allocations: 107.4 kB / 1.459 GB, free: 28 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/2.425, allocations: 0 / 1.459 GB, free: 28 MB / 0.9981 GB Notification: Performance of Templates: time 0.1403/2.565, allocations: 93.07 MB / 1.55 GB, free: 15.22 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches