Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001293/0.001293, allocations: 112.3 kB / 15.99 MB, free: 6.359 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.001505/0.001506, allocations: 193.7 kB / 16.91 MB, free: 6.195 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.406/1.406, allocations: 222.9 MB / 240.6 MB, free: 15.42 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.305/2.305, allocations: 390.2 MB / 0.665 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.97 kB / 0.8127 GB, free: 33.25 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2569, allocations: 140.4 MB / 0.9498 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02499/0.2819, allocations: 23.23 MB / 0.9725 GB, free: 1.918 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01101/0.293, allocations: 6.457 MB / 0.9788 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.2949, allocations: 79.56 kB / 0.9788 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003898/0.2988, allocations: 1.353 MB / 0.9802 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004152/0.303, allocations: 1.708 MB / 0.9818 GB, free: 8.293 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003594/0.3066, allocations: 1.333 MB / 0.9831 GB, free: 6.961 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.007509/0.3141, allocations: 6.931 MB / 0.9899 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01172/0.3259, allocations: 8.148 MB / 0.9979 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004211/0.3301, allocations: 2.882 MB / 1.001 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005148/0.3353, allocations: 3.681 MB / 1.004 GB, free: 1.195 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001424/0.3367, allocations: 0.5312 MB / 1.005 GB, free: 0.6641 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002867/0.3396, allocations: 1.182 MB / 1.006 GB, free: 15.48 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003201/0.3428, allocations: 2.464 MB / 1.008 GB, free: 13.01 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.00436/0.3472, allocations: 2.544 MB / 1.011 GB, free: 10.46 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.007321/0.3545, allocations: 7.226 MB / 1.018 GB, free: 3.215 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3546, allocations: 0 / 1.018 GB, free: 3.215 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3546, allocations: 0 / 1.018 GB, free: 3.215 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002308/0.3548, allocations: 0 / 1.018 GB, free: 3.215 MB / 0.795 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.009563/0.3644, allocations: 4.431 MB / 1.022 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.3644, allocations: 12.03 kB / 1.022 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008489/0.3729, allocations: 1.677 MB / 1.024 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004634/0.3776, allocations: 2.571 MB / 1.026 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/0.3778, allocations: 283.7 kB / 1.027 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008324/0.3787, allocations: 356.3 kB / 1.027 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01276/0.3914, allocations: 7.491 MB / 1.034 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.751e-05/0.3916, allocations: 15.84 kB / 1.034 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004991/0.3921, allocations: 159.9 kB / 1.034 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005746/0.3926, allocations: 487.3 kB / 1.035 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009732/0.4024, allocations: 5.701 MB / 1.041 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03404/0.4364, allocations: 31.73 MB / 1.071 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002916/0.4394, allocations: 2.089 MB / 1.074 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002921/0.4423, allocations: 2.174 MB / 1.076 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/0.4425, allocations: 21.3 kB / 1.076 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.4426, allocations: 51.88 kB / 1.076 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=146): time 3.106e-06/0.4426, allocations: 0 / 1.076 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of matching and sorting (n=251): time 0.7029/1.146, allocations: 76.99 MB / 1.151 GB, free: 87 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/1.146, allocations: 77.41 kB / 1.151 GB, free: 86.91 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002064/1.148, allocations: 1.67 MB / 1.153 GB, free: 85.2 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0004762/1.148, allocations: 69.7 kB / 1.153 GB, free: 85.12 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006796/1.149, allocations: 1.75 MB / 1.154 GB, free: 83.36 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007667/1.15, allocations: 0.8459 MB / 1.155 GB, free: 82.52 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001082/1.151, allocations: 485.2 kB / 1.156 GB, free: 82.04 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.015e-05/1.151, allocations: 301.1 kB / 1.156 GB, free: 81.74 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003047/1.154, allocations: 2.73 MB / 1.159 GB, free: 79 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003428/1.157, allocations: 3.332 MB / 1.162 GB, free: 75.42 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006779/1.164, allocations: 6.393 MB / 1.168 GB, free: 68.79 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.657e-05/1.164, allocations: 11.94 kB / 1.168 GB, free: 68.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02781/1.192, allocations: 14.68 MB / 1.182 GB, free: 54.04 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/1.192, allocations: 12 kB / 1.182 GB, free: 54.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-05/1.192, allocations: 16 kB / 1.182 GB, free: 54.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0268/1.219, allocations: 9.292 MB / 1.192 GB, free: 44.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/1.22, allocations: 299.4 kB / 1.192 GB, free: 44.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06946/1.289, allocations: 52.38 MB / 1.243 GB, free: 7.207 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002917/1.292, allocations: 223.7 kB / 1.243 GB, free: 6.988 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006114/1.293, allocations: 107.9 kB / 1.243 GB, free: 6.883 MB / 0.8731 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.003233/1.296, allocations: 1.582 MB / 1.245 GB, free: 5.293 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008829/1.297, allocations: 245.1 kB / 1.245 GB, free: 5.051 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0327/1.33, allocations: 14.75 MB / 1.26 GB, free: 6.242 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.797e-05/1.33, allocations: 24 kB / 1.26 GB, free: 6.219 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001601/1.33, allocations: 48 kB / 1.26 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.699e-05/1.33, allocations: 11.95 kB / 1.26 GB, free: 6.16 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04509/1.375, allocations: 20.52 MB / 1.28 GB, free: 1.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.698e-05/1.375, allocations: 11.44 kB / 1.28 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007747/1.376, allocations: 159.7 kB / 1.28 GB, free: 1.336 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02997/1.406, allocations: 9.07 MB / 1.289 GB, free: 8.238 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005716/1.407, allocations: 51.56 kB / 1.289 GB, free: 8.191 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08046/1.487, allocations: 51.95 MB / 1.339 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-05/1.487, allocations: 8 kB / 1.339 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03262/1.52, allocations: 14.36 MB / 1.353 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00205/1.522, allocations: 0.8454 MB / 1.354 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000854/1.523, allocations: 55.94 kB / 1.354 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002385/1.525, allocations: 207.7 kB / 1.355 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00133/1.527, allocations: 245.5 kB / 1.355 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002954/1.527, allocations: 64 kB / 1.355 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001815/1.529, allocations: 1.121 MB / 1.356 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.61e-07/1.529, allocations: 4 kB / 1.356 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.004906/1.534, allocations: 1.613 MB / 1.358 GB, free: 0.6992 MB / 0.9825 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.0005285/1.534, allocations: 159.1 kB / 1.358 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.02431/1.559, allocations: 11.34 MB / 1.369 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.559, allocations: 0.875 kB / 1.369 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01859/1.577, allocations: 7.305 MB / 1.376 GB, free: 13.79 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004329/1.582, allocations: 0.5573 MB / 1.376 GB, free: 13.25 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01966/1.601, allocations: 11.24 MB / 1.387 GB, free: 1.961 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004863/1.606, allocations: 3.298 MB / 1.391 GB, free: 14.62 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000454/1.607, allocations: 111.4 kB / 1.391 GB, free: 14.52 MB / 1.029 GB Notification: Performance of SimCode: time 8.51e-07/1.607, allocations: 0 / 1.391 GB, free: 14.52 MB / 1.029 GB Notification: Performance of Templates: time 0.6688/2.276, allocations: 187.6 MB / 1.574 GB, free: 363.3 MB / 1.139 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches