Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 106.9 kB / 15.99 MB, free: 6.355 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.001806/0.001806, allocations: 193 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.349/1.349, allocations: 222.9 MB / 240.6 MB, free: 13.74 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.258/2.258, allocations: 390.2 MB / 0.665 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 65.19 kB / 0.8127 GB, free: 32.43 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2581, allocations: 140.4 MB / 0.9498 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03502/0.2931, allocations: 33.03 MB / 0.982 GB, free: 8.09 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02205/0.3152, allocations: 14.68 MB / 0.9964 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003373/0.3186, allocations: 143.2 kB / 0.9965 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00927/0.3279, allocations: 3.413 MB / 0.9998 GB, free: 5.812 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.009185/0.3371, allocations: 2.666 MB / 1.002 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.006667/0.3438, allocations: 2.136 MB / 1.005 GB, free: 1 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01154/0.3554, allocations: 8.835 MB / 1.013 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02021/0.3756, allocations: 11.37 MB / 1.024 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006943/0.3826, allocations: 4.003 MB / 1.028 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007034/0.3897, allocations: 4.217 MB / 1.032 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002698/0.3924, allocations: 0.7188 MB / 1.033 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005099/0.3976, allocations: 1.724 MB / 1.035 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.004795/0.4024, allocations: 2.834 MB / 1.037 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.007733/0.4102, allocations: 3.384 MB / 1.041 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01208/0.4223, allocations: 9.482 MB / 1.05 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.4223, allocations: 7.938 kB / 1.05 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4223, allocations: 0 / 1.05 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0003696/0.4227, allocations: 0 / 1.05 GB, free: 2.211 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01631/0.439, allocations: 5.983 MB / 1.056 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.4391, allocations: 8.031 kB / 1.056 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008107/0.4472, allocations: 1.134 MB / 1.057 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007717/0.4549, allocations: 3.328 MB / 1.06 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004022/0.4554, allocations: 374.4 kB / 1.061 GB, free: 7.227 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001964/0.4574, allocations: 500 kB / 1.061 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0197/0.4771, allocations: 8.001 MB / 1.069 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002904/0.4774, allocations: 27.77 kB / 1.069 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001602/0.479, allocations: 216 kB / 1.069 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001194/0.4802, allocations: 437.6 kB / 1.07 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01319/0.4935, allocations: 6.081 MB / 1.075 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4794/0.9729, allocations: 35.15 MB / 1.11 GB, free: 94.29 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00352/0.9765, allocations: 2.024 MB / 1.112 GB, free: 93.48 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003301/0.9798, allocations: 1.867 MB / 1.114 GB, free: 92.75 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000221/0.98, allocations: 18.47 kB / 1.114 GB, free: 92.75 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.548e-05/0.9801, allocations: 58.91 kB / 1.114 GB, free: 92.7 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=171): time 4.599e-06/0.9801, allocations: 0 / 1.114 GB, free: 92.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=276): time 0.1451/1.125, allocations: 38.87 MB / 1.152 GB, free: 79.7 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/1.125, allocations: 82.42 kB / 1.152 GB, free: 79.64 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003854/1.129, allocations: 2.283 MB / 1.154 GB, free: 78.42 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0005211/1.13, allocations: 73.02 kB / 1.154 GB, free: 78.35 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001171/1.131, allocations: 2.273 MB / 1.156 GB, free: 76.36 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.001025/1.132, allocations: 0.9311 MB / 1.157 GB, free: 75.55 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001347/1.133, allocations: 0.5089 MB / 1.158 GB, free: 75.27 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.565e-05/1.133, allocations: 305.1 kB / 1.158 GB, free: 74.97 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002604/1.136, allocations: 1.973 MB / 1.16 GB, free: 73.18 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002988/1.139, allocations: 2.602 MB / 1.162 GB, free: 70.33 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005856/1.145, allocations: 4.933 MB / 1.167 GB, free: 65.12 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.08e-05/1.145, allocations: 4 kB / 1.167 GB, free: 65.12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01482/1.16, allocations: 7.759 MB / 1.175 GB, free: 57.29 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.675e-05/1.16, allocations: 13.88 kB / 1.175 GB, free: 57.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.358e-05/1.16, allocations: 16 kB / 1.175 GB, free: 57.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009095/1.169, allocations: 3.251 MB / 1.178 GB, free: 54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/1.171, allocations: 399.4 kB / 1.178 GB, free: 53.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03839/1.209, allocations: 33.89 MB / 1.211 GB, free: 18.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003333/1.213, allocations: 163.8 kB / 1.212 GB, free: 18.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005224/1.213, allocations: 116 kB / 1.212 GB, free: 18.61 MB / 0.8575 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003017/1.216, allocations: 1.797 MB / 1.213 GB, free: 16.8 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009768/1.217, allocations: 332.1 kB / 1.214 GB, free: 16.48 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/1.23, allocations: 7.356 MB / 1.221 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/1.23, allocations: 31.94 kB / 1.221 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.69e-05/1.23, allocations: 28 kB / 1.221 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.422e-05/1.23, allocations: 15.95 kB / 1.221 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02615/1.256, allocations: 12.92 MB / 1.234 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.109e-05/1.256, allocations: 8.844 kB / 1.234 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/1.257, allocations: 227.6 kB / 1.234 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009228/1.267, allocations: 2.874 MB / 1.237 GB, free: 8.793 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004715/1.267, allocations: 60 kB / 1.237 GB, free: 8.734 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04602/1.313, allocations: 32.7 MB / 1.269 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.367e-06/1.313, allocations: 11.94 kB / 1.269 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0142/1.327, allocations: 6.886 MB / 1.275 GB, free: 80 kB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002248/1.33, allocations: 0.7782 MB / 1.276 GB, free: 15.28 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001003/1.331, allocations: 59.89 kB / 1.276 GB, free: 15.22 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002277/1.333, allocations: 171.8 kB / 1.276 GB, free: 15.05 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009701/1.334, allocations: 245.5 kB / 1.277 GB, free: 14.81 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002937/1.334, allocations: 83.94 kB / 1.277 GB, free: 14.73 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002759/1.337, allocations: 1.529 MB / 1.278 GB, free: 13.2 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.91e-07/1.337, allocations: 0 / 1.278 GB, free: 13.2 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.005089/1.342, allocations: 1.367 MB / 1.28 GB, free: 11.83 MB / 0.92 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005854/1.343, allocations: 175 kB / 1.28 GB, free: 11.65 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01543/1.358, allocations: 8.373 MB / 1.288 GB, free: 3.203 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/1.358, allocations: 4 kB / 1.288 GB, free: 3.199 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.008299/1.367, allocations: 4.414 MB / 1.292 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006781/1.373, allocations: 1.114 MB / 1.293 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02402/1.397, allocations: 13.17 MB / 1.306 GB, free: 404 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005864/1.403, allocations: 3.755 MB / 1.31 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008585/1.404, allocations: 171.4 kB / 1.31 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of SimCode: time 1.392e-06/1.404, allocations: 0 / 1.31 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of Templates: time 0.6988/2.103, allocations: 227.3 MB / 1.532 GB, free: 380.2 MB / 1.139 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches