Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009547/0.0009548, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008333/0.008334, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.464/1.464, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.435/2.435, allocations: 390.9 MB / 0.6663 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003964/0.0003963, allocations: 12 kB / 0.816 GB, free: 13.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7776/0.778, allocations: 142.4 MB / 0.9551 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04323/0.8213, allocations: 31.53 MB / 0.9859 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0217/0.8431, allocations: 10.18 MB / 0.9958 GB, free: 5.516 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005113/0.8482, allocations: 127.3 kB / 0.9959 GB, free: 5.391 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003375/0.8517, allocations: 0.6279 MB / 0.9965 GB, free: 4.758 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007097/0.8588, allocations: 1.739 MB / 0.9982 GB, free: 3.012 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006335/0.8652, allocations: 1.759 MB / 0.9999 GB, free: 1.254 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01353/0.8787, allocations: 10.58 MB / 1.01 GB, free: 6.652 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02227/0.9011, allocations: 12.07 MB / 1.022 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006156/0.9073, allocations: 2.237 MB / 1.024 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006303/0.9136, allocations: 2.962 MB / 1.027 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001613/0.9152, allocations: 268 kB / 1.027 GB, free: 4.988 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004946/0.9202, allocations: 1.696 MB / 1.029 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003897/0.9241, allocations: 2.054 MB / 1.031 GB, free: 1.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.005646/0.9298, allocations: 2.345 MB / 1.033 GB, free: 14.87 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01448/0.9443, allocations: 9.658 MB / 1.043 GB, free: 5.18 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.9444, allocations: 0 / 1.043 GB, free: 5.18 MB / 0.795 GB Notification: Performance of FrontEnd: time 4.328e-06/0.9444, allocations: 3.984 kB / 1.043 GB, free: 5.176 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003276/0.9447, allocations: 0 / 1.043 GB, free: 5.176 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01083/0.9556, allocations: 4.019 MB / 1.047 GB, free: 1.086 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.9556, allocations: 12.03 kB / 1.047 GB, free: 1.074 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007008/0.9626, allocations: 0.9552 MB / 1.048 GB, free: 116 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006641/0.9693, allocations: 2.851 MB / 1.05 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002731/0.9696, allocations: 353.7 kB / 1.051 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001112/0.9707, allocations: 460.2 kB / 1.051 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01573/0.9865, allocations: 7.671 MB / 1.059 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000132/0.9867, allocations: 27.69 kB / 1.059 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004969/0.9872, allocations: 196 kB / 1.059 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000345/0.9875, allocations: 316.9 kB / 1.059 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01174/0.9993, allocations: 5.706 MB / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04518/1.044, allocations: 35.15 MB / 1.099 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00291/1.047, allocations: 2.154 MB / 1.101 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/1.049, allocations: 1.266 MB / 1.102 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.811e-05/1.049, allocations: 13.31 kB / 1.102 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/1.049, allocations: 51.81 kB / 1.103 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=133): time 4.348e-06/1.049, allocations: 0 / 1.103 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of matching and sorting (n=136): time 0.01366/1.063, allocations: 7.124 MB / 1.109 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/1.063, allocations: 64.72 kB / 1.11 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/1.065, allocations: 1.484 MB / 1.111 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.28e-05/1.065, allocations: 53.64 kB / 1.111 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001467/1.067, allocations: 2.008 MB / 1.113 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000577/1.067, allocations: 489 kB / 1.113 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/1.067, allocations: 149.6 kB / 1.114 GB, free: 8.434 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.068, allocations: 301.1 kB / 1.114 GB, free: 8.137 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/1.069, allocations: 0.9096 MB / 1.115 GB, free: 7.227 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001761/1.071, allocations: 1.597 MB / 1.116 GB, free: 5.32 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003334/1.074, allocations: 2.733 MB / 1.119 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.245e-05/1.074, allocations: 8 kB / 1.119 GB, free: 2.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006053/1.08, allocations: 3.534 MB / 1.122 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.616e-05/1.08, allocations: 16 kB / 1.122 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.151e-05/1.08, allocations: 24 kB / 1.123 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002483/1.083, allocations: 0.9005 MB / 1.123 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/1.084, allocations: 347.4 kB / 1.124 GB, free: 13.37 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01978/1.104, allocations: 21.25 MB / 1.144 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00188/1.105, allocations: 104 kB / 1.145 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/1.106, allocations: 83.98 kB / 1.145 GB, free: 6.34 MB / 0.9044 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.003155/1.109, allocations: 1.611 MB / 1.146 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004619/1.109, allocations: 205.5 kB / 1.146 GB, free: 4.516 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005299/1.115, allocations: 2.994 MB / 1.149 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/1.115, allocations: 12 kB / 1.149 GB, free: 1.457 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.779e-05/1.115, allocations: 12 kB / 1.149 GB, free: 1.445 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/1.115, allocations: 7.969 kB / 1.149 GB, free: 1.438 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/1.127, allocations: 7.329 MB / 1.157 GB, free: 9.875 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/1.127, allocations: 4 kB / 1.157 GB, free: 9.871 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007777/1.128, allocations: 175.7 kB / 1.157 GB, free: 9.699 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002359/1.13, allocations: 0.8261 MB / 1.158 GB, free: 8.836 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/1.13, allocations: 28 kB / 1.158 GB, free: 8.809 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01891/1.149, allocations: 20.32 MB / 1.177 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/1.149, allocations: 4 kB / 1.177 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005641/1.155, allocations: 3.027 MB / 1.18 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/1.156, allocations: 466.4 kB / 1.181 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/1.157, allocations: 27.98 kB / 1.181 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008116/1.157, allocations: 67.92 kB / 1.181 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004372/1.158, allocations: 128.7 kB / 1.181 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.448e-05/1.158, allocations: 39.98 kB / 1.181 GB, free: 15 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001423/1.159, allocations: 0.9756 MB / 1.182 GB, free: 14 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.61e-07/1.159, allocations: 0 / 1.182 GB, free: 14 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003117/1.162, allocations: 0.793 MB / 1.183 GB, free: 13.21 MB / 0.9512 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002824/1.163, allocations: 135.1 kB / 1.183 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.006993/1.17, allocations: 4.02 MB / 1.187 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.393e-06/1.17, allocations: 4.062 kB / 1.187 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0052/1.175, allocations: 2.755 MB / 1.19 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004474/1.18, allocations: 0.6635 MB / 1.19 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01474/1.194, allocations: 9.179 MB / 1.199 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003499/1.198, allocations: 3.109 MB / 1.202 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001625/1.199, allocations: 450 kB / 1.203 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002965/1.2, allocations: 111.4 kB / 1.203 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of SimCode: time 1.192e-06/1.2, allocations: 0 / 1.203 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of Templates: time 0.06614/1.266, allocations: 34.15 MB / 1.236 GB, free: 6.602 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches