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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009021/0.0009021, allocations: 97.78 kB / 16.02 MB, free: 76 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.001046/0.001046, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.401/1.401, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.447/2.447, allocations: 390.9 MB / 0.667 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003323, allocations: 12 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7259/0.7262, allocations: 142.4 MB / 0.9557 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02338/0.7497, allocations: 22.58 MB / 0.9778 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01209/0.7618, allocations: 6.44 MB / 0.9841 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002608/0.7645, allocations: 77.31 kB / 0.9841 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001913/0.7664, allocations: 471.5 kB / 0.9846 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005179/0.7716, allocations: 1.743 MB / 0.9863 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003631/0.7753, allocations: 1.193 MB / 0.9875 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01206/0.7874, allocations: 10.6 MB / 0.9978 GB, free: 4.184 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01418/0.8016, allocations: 8.071 MB / 1.006 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005184/0.8068, allocations: 2.081 MB / 1.008 GB, free: 9.945 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005883/0.8127, allocations: 3.193 MB / 1.011 GB, free: 6.742 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.00127/0.814, allocations: 244 kB / 1.011 GB, free: 6.504 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003279/0.8173, allocations: 1.057 MB / 1.012 GB, free: 5.445 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.003495/0.8208, allocations: 2.108 MB / 1.014 GB, free: 3.332 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.004766/0.8256, allocations: 2.12 MB / 1.016 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.008461/0.8341, allocations: 7.046 MB / 1.023 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.8342, allocations: 0 / 1.023 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.304e-06/0.8342, allocations: 4 kB / 1.023 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0002881/0.8345, allocations: 0 / 1.023 GB, free: 10.13 MB / 0.7794 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.009174/0.8436, allocations: 3.562 MB / 1.027 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.8437, allocations: 8.031 kB / 1.027 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009411/0.8531, allocations: 1.685 MB / 1.028 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005806/0.859, allocations: 2.567 MB / 1.031 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003234/0.8593, allocations: 279.7 kB / 1.031 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001465/0.8608, allocations: 364.2 kB / 1.031 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01712/0.878, allocations: 7.483 MB / 1.039 GB, free: 9.801 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001802/0.8782, allocations: 15.88 kB / 1.039 GB, free: 9.785 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001253/0.8794, allocations: 159.9 kB / 1.039 GB, free: 9.629 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007348/0.8802, allocations: 487.3 kB / 1.039 GB, free: 9.152 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01194/0.8922, allocations: 5.701 MB / 1.045 GB, free: 3.445 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0418/0.934, allocations: 31.7 MB / 1.076 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003393/0.9374, allocations: 2.086 MB / 1.078 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003404/0.9409, allocations: 2.174 MB / 1.08 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002192/0.9411, allocations: 13.31 kB / 1.08 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/0.9412, allocations: 47.88 kB / 1.08 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=146): time 4.318e-06/0.9412, allocations: 3.938 kB / 1.08 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of matching and sorting (n=251): time 0.3192/1.26, allocations: 75.27 MB / 1.154 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.524e-05/1.261, allocations: 81.41 kB / 1.154 GB, free: 1.117 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002733/1.263, allocations: 1.67 MB / 1.155 GB, free: 15.4 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0005111/1.264, allocations: 69.69 kB / 1.155 GB, free: 15.33 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001172/1.265, allocations: 1.743 MB / 1.157 GB, free: 13.56 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001161/1.266, allocations: 0.8509 MB / 1.158 GB, free: 12.7 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005782/1.267, allocations: 203 kB / 1.158 GB, free: 12.5 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001033/1.267, allocations: 301.1 kB / 1.158 GB, free: 12.2 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004272/1.271, allocations: 2.734 MB / 1.161 GB, free: 9.461 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004726/1.276, allocations: 3.332 MB / 1.164 GB, free: 5.883 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009075/1.285, allocations: 6.397 MB / 1.171 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.133e-05/1.285, allocations: 4 kB / 1.171 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03542/1.32, allocations: 14.67 MB / 1.185 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.928e-05/1.321, allocations: 16 kB / 1.185 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.286e-05/1.321, allocations: 19.94 kB / 1.185 GB, free: 492 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03147/1.352, allocations: 9.247 MB / 1.194 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/1.354, allocations: 303.5 kB / 1.194 GB, free: 6.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08204/1.436, allocations: 47.15 MB / 1.24 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003209/1.439, allocations: 215.7 kB / 1.24 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005254/1.44, allocations: 104 kB / 1.241 GB, free: 6.621 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.003657/1.443, allocations: 1.586 MB / 1.242 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008484/1.444, allocations: 241.1 kB / 1.242 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03492/1.479, allocations: 14.76 MB / 1.257 GB, free: 5.965 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.69e-05/1.479, allocations: 24.44 kB / 1.257 GB, free: 5.941 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000139/1.479, allocations: 44 kB / 1.257 GB, free: 5.898 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.105e-05/1.479, allocations: 11.95 kB / 1.257 GB, free: 5.887 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6123/2.092, allocations: 20.53 MB / 1.277 GB, free: 273.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.495e-05/2.092, allocations: 6.875 kB / 1.277 GB, free: 273.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007912/2.092, allocations: 161.3 kB / 1.277 GB, free: 273 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03099/2.123, allocations: 9.007 MB / 1.286 GB, free: 271.9 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006575/2.124, allocations: 48.62 kB / 1.286 GB, free: 271.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07041/2.195, allocations: 46.74 MB / 1.332 GB, free: 239.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.08e-05/2.195, allocations: 11.94 kB / 1.332 GB, free: 239.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03102/2.226, allocations: 14.36 MB / 1.346 GB, free: 224.9 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002074/2.228, allocations: 0.8455 MB / 1.346 GB, free: 224.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009375/2.229, allocations: 59.92 kB / 1.346 GB, free: 224 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002734/2.232, allocations: 207.7 kB / 1.347 GB, free: 223.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001431/2.233, allocations: 237.5 kB / 1.347 GB, free: 223.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003363/2.233, allocations: 64 kB / 1.347 GB, free: 223.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001803/2.235, allocations: 1.129 MB / 1.348 GB, free: 222.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/2.235, allocations: 0 / 1.348 GB, free: 222.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.005094/2.24, allocations: 1.617 MB / 1.35 GB, free: 220.8 MB / 1.014 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.0005788/2.241, allocations: 156.7 kB / 1.35 GB, free: 220.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02095/2.262, allocations: 10.36 MB / 1.36 GB, free: 210.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/2.262, allocations: 0 / 1.36 GB, free: 210.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.01759/2.279, allocations: 7.157 MB / 1.367 GB, free: 203 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006022/2.286, allocations: 0.5144 MB / 1.367 GB, free: 202.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01757/2.303, allocations: 11.24 MB / 1.378 GB, free: 191.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004369/2.308, allocations: 3.302 MB / 1.382 GB, free: 187.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004375/2.308, allocations: 111.4 kB / 1.382 GB, free: 187.7 MB / 1.014 GB Notification: Performance of SimCode: time 8.11e-07/2.308, allocations: 0 / 1.382 GB, free: 187.7 MB / 1.014 GB Notification: Performance of Templates: time 0.1652/2.473, allocations: 187.1 MB / 1.564 GB, free: 0.4961 MB / 1.014 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