Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004993/0.004993, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.001126/0.001126, allocations: 198.4 kB / 16.68 MB, free: 5.938 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.478/2.478, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 67.84 kB / 1.054 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8049/0.8062, allocations: 157.4 MB / 1.207 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.0139/0.8201, allocations: 11.97 MB / 1.219 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00869/0.8289, allocations: 5.707 MB / 1.225 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.83, allocations: 39.88 kB / 1.225 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002657/0.8327, allocations: 1.042 MB / 1.226 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.8343, allocations: 0.6784 MB / 1.226 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.8364, allocations: 0.9765 MB / 1.227 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002477/0.8389, allocations: 2.58 MB / 1.23 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003932/0.8429, allocations: 3.795 MB / 1.233 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002423/0.8453, allocations: 1.204 MB / 1.235 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002127/0.8475, allocations: 1.324 MB / 1.236 GB, free: 64 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003455/0.8478, allocations: 252 kB / 1.236 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.849, allocations: 0.5657 MB / 1.237 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0008794/0.8499, allocations: 0.9396 MB / 1.238 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.851, allocations: 1.062 MB / 1.239 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003261/0.8543, allocations: 3.861 MB / 1.242 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.8543, allocations: 0 / 1.242 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8543, allocations: 0 / 1.242 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.468e-05/0.8543, allocations: 0 / 1.242 GB, free: 9.371 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.003568/0.8579, allocations: 2.089 MB / 1.244 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.858, allocations: 12.03 kB / 1.244 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003088/0.8583, allocations: 252.9 kB / 1.245 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003204/0.8615, allocations: 0.7479 MB / 1.245 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/0.8635, allocations: 1.228 MB / 1.247 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.063e-05/0.8636, allocations: 115.6 kB / 1.247 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/0.8639, allocations: 175.8 kB / 1.247 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004104/0.868, allocations: 2.952 MB / 1.25 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.752e-05/0.868, allocations: 4 kB / 1.25 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001728/0.8682, allocations: 64 kB / 1.25 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003149/0.8685, allocations: 171.1 kB / 1.25 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003615/0.8722, allocations: 2.518 MB / 1.252 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01098/0.8832, allocations: 10.74 MB / 1.263 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.8846, allocations: 0.9509 MB / 1.264 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006708/0.8853, allocations: 0.5073 MB / 1.264 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.8854, allocations: 93.47 kB / 1.264 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.8854, allocations: 34.94 kB / 1.265 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=46): time 2.155e-06/0.8855, allocations: 4 kB / 1.265 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70): time 0.02814/0.9136, allocations: 8.07 MB / 1.272 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.9137, allocations: 59.97 kB / 1.272 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.9149, allocations: 0.9259 MB / 1.273 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001435/0.9151, allocations: 37.7 kB / 1.273 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004567/0.9155, allocations: 0.7775 MB / 1.274 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000211/0.9158, allocations: 252.5 kB / 1.274 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003563/0.9161, allocations: 214.8 kB / 1.275 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.9163, allocations: 390.8 kB / 1.275 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/0.9175, allocations: 0.8101 MB / 1.276 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/0.9188, allocations: 1.155 MB / 1.277 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002546/0.9214, allocations: 1.997 MB / 1.279 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.9214, allocations: 4 kB / 1.279 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009197/0.9306, allocations: 3.662 MB / 1.282 GB, free: 14.78 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.9307, allocations: 10.03 kB / 1.282 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/0.9307, allocations: 12.38 kB / 1.282 GB, free: 14.76 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007333/0.9381, allocations: 1.904 MB / 1.284 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.9391, allocations: 235.5 kB / 1.285 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01447/0.9536, allocations: 10.58 MB / 1.295 GB, free: 1.762 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.955, allocations: 187.6 kB / 1.295 GB, free: 1.578 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.63e-05/0.9552, allocations: 51.98 kB / 1.295 GB, free: 1.527 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002087/0.9572, allocations: 1.521 MB / 1.297 GB, free: 0 / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001377/0.9586, allocations: 1.128 MB / 1.298 GB, free: 14.72 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002451/0.9611, allocations: 1.939 MB / 1.3 GB, free: 12.63 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.903e-06/0.9611, allocations: 4 kB / 1.3 GB, free: 12.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.007438/0.9686, allocations: 3.096 MB / 1.303 GB, free: 9.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.9686, allocations: 11.94 kB / 1.303 GB, free: 9.508 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.9686, allocations: 12 kB / 1.303 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004659/0.9733, allocations: 1.196 MB / 1.304 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.9745, allocations: 283.6 kB / 1.304 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007745/0.9823, allocations: 5.844 MB / 1.31 GB, free: 2.035 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.9837, allocations: 175.7 kB / 1.31 GB, free: 1.863 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.134e-05/0.9838, allocations: 51.92 kB / 1.31 GB, free: 1.812 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003057/0.9841, allocations: 240 kB / 1.31 GB, free: 1.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.9843, allocations: 86.97 kB / 1.31 GB, free: 1.484 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008101/0.9924, allocations: 3.172 MB / 1.313 GB, free: 14.29 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.9924, allocations: 8 kB / 1.313 GB, free: 14.28 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.9925, allocations: 4 kB / 1.313 GB, free: 14.28 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.9925, allocations: 3.984 kB / 1.313 GB, free: 14.27 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0104/1.003, allocations: 5.266 MB / 1.319 GB, free: 8.891 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/1.003, allocations: 4.062 kB / 1.319 GB, free: 8.887 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/1.003, allocations: 99.86 kB / 1.319 GB, free: 8.789 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006307/1.01, allocations: 1.725 MB / 1.32 GB, free: 7.059 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.209e-05/1.01, allocations: 16 kB / 1.32 GB, free: 7.043 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.013/1.023, allocations: 9.985 MB / 1.33 GB, free: 12.78 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.023, allocations: 4 kB / 1.33 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007637/1.03, allocations: 3.019 MB / 1.333 GB, free: 9.707 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005944/1.031, allocations: 327.8 kB / 1.333 GB, free: 9.367 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002347/1.031, allocations: 16 kB / 1.333 GB, free: 9.352 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/1.032, allocations: 135.8 kB / 1.334 GB, free: 9.219 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002519/1.033, allocations: 60.47 kB / 1.334 GB, free: 9.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.758e-05/1.033, allocations: 20 kB / 1.334 GB, free: 9.141 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001019/1.034, allocations: 0.6824 MB / 1.334 GB, free: 8.461 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/1.034, allocations: 0 / 1.334 GB, free: 8.461 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00226/1.036, allocations: 0.6913 MB / 1.335 GB, free: 7.77 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008216/1.044, allocations: 3.622 MB / 1.338 GB, free: 4.082 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.006258/1.05, allocations: 3.542 MB / 1.342 GB, free: 0.5078 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/1.05, allocations: 0 / 1.342 GB, free: 0.5078 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002122/1.053, allocations: 1.258 MB / 1.343 GB, free: 15.22 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/1.054, allocations: 283.1 kB / 1.343 GB, free: 14.96 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03095/1.085, allocations: 16.04 MB / 1.359 GB, free: 14.44 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001947/1.087, allocations: 1.726 MB / 1.361 GB, free: 12.68 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001239/1.088, allocations: 0.5303 MB / 1.361 GB, free: 12.14 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000695/1.089, allocations: 0.5109 MB / 1.362 GB, free: 11.63 MB / 1.092 GB Notification: Performance of SimCode: time 4.71e-07/1.089, allocations: 4 kB / 1.362 GB, free: 11.63 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0756/1.165, allocations: 44.67 MB / 1.405 GB, free: 15.34 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.93/17.09, allocations: 22.28 kB / 1.405 GB, free: 15.32 MB / 1.139 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,E.vPhase[1].S[1],E.vPhase[1].S[2],E.vPhase[2].S[1],E.vPhase[2].S[2],E.vPhase[3].S[1],E.vPhase[3].S[2],load.terminal.phase[4].v[1],load.terminal.phase[4].v[2],load.terminal.phase[4].i[1],load.terminal.phase[4].i[2] Variables in the result:E.V,E.definiteReference,E.f,E.ground.terminal.i[1],E.ground.terminal.i[2],E.ground.terminal.theta[1],E.ground.terminal.v[1],E.ground.terminal.v[2],E.phiSou,E.potentialReference,E.terminal.phase[1].i[1],E.terminal.phase[1].i[2],E.terminal.phase[1].theta[1],E.terminal.phase[1].v[1],E.terminal.phase[1].v[2],E.terminal.phase[2].i[1],E.terminal.phase[2].i[2],E.terminal.phase[2].theta[1],E.terminal.phase[2].v[1],E.terminal.phase[2].v[2],E.terminal.phase[3].i[1],E.terminal.phase[3].i[2],E.terminal.phase[3].theta[1],E.terminal.phase[3].v[1],E.terminal.phase[3].v[2],E.terminal.phase[4].i[1],E.terminal.phase[4].i[2],E.terminal.phase[4].theta[1],E.terminal.phase[4].v[1],E.terminal.phase[4].v[2],E.vPhase[1].S[1],E.vPhase[1].S[2],E.vPhase[1].V,E.vPhase[1].definiteReference,E.vPhase[1].f,E.vPhase[1].phi,E.vPhase[1].phiSou,E.vPhase[1].potentialReference,E.vPhase[1].terminal.i[1],E.vPhase[1].terminal.i[2],E.vPhase[1].terminal.theta[1],E.vPhase[1].terminal.v[1],E.vPhase[1].terminal.v[2],E.vPhase[2].S[1],E.vPhase[2].S[2],E.vPhase[2].V,E.vPhase[2].definiteReference,E.vPhase[2].f,E.vPhase[2].phi,E.vPhase[2].phiSou,E.vPhase[2].potentialReference,E.vPhase[2].terminal.i[1],E.vPhase[2].terminal.i[2],E.vPhase[2].terminal.theta[1],E.vPhase[2].terminal.v[1],E.vPhase[2].terminal.v[2],E.vPhase[3].S[1],E.vPhase[3].S[2],E.vPhase[3].V,E.vPhase[3].definiteReference,E.vPhase[3].f,E.vPhase[3].phi,E.vPhase[3].phiSou,E.vPhase[3].potentialReference,E.vPhase[3].terminal.i[1],E.vPhase[3].terminal.i[2],E.vPhase[3].terminal.theta[1],E.vPhase[3].terminal.v[1],E.vPhase[3].terminal.v[2],der(load.load1.v[1]),der(load.load1.v[2]),der(load.load2.P),der(load.load2.v[1]),der(load.load2.v[2]),der(load.terminal.phase[1].v[1]),der(load.terminal.phase[1].v[2]),der(load.terminal.phase[2].v[1]),der(load.terminal.phase[2].v[2]),der(load.terminal.phase[4].v[1]),der(load.terminal.phase[4].v[2]),load.P_nominal,load.Pow1,load.Pow2,load.V_nominal,load.connection3to4.terminal3.phase[1].i[1],load.connection3to4.terminal3.phase[1].i[2],load.connection3to4.terminal3.phase[1].theta[1],load.connection3to4.terminal3.phase[1].v[1],load.connection3to4.terminal3.phase[1].v[2],load.connection3to4.terminal3.phase[2].i[1],load.connection3to4.terminal3.phase[2].i[2],load.connection3to4.terminal3.phase[2].theta[1],load.connection3to4.terminal3.phase[2].v[1],load.connection3to4.terminal3.phase[2].v[2],load.connection3to4.terminal3.phase[3].i[1],load.connection3to4.terminal3.phase[3].i[2],load.connection3to4.terminal3.phase[3].theta[1],load.connection3to4.terminal3.phase[3].v[1],load.connection3to4.terminal3.phase[3].v[2],load.connection3to4.terminal4.phase[1].i[1],load.connection3to4.terminal4.phase[1].i[2],load.connection3to4.terminal4.phase[1].theta[1],load.connection3to4.terminal4.phase[1].v[1],load.connection3to4.terminal4.phase[1].v[2],load.connection3to4.terminal4.phase[2].i[1],load.connection3to4.terminal4.phase[2].i[2],load.connection3to4.terminal4.phase[2].theta[1],load.connection3to4.terminal4.phase[2].v[1],load.connection3to4.terminal4.phase[2].v[2],load.connection3to4.terminal4.phase[3].i[1],load.connection3to4.terminal4.phase[3].i[2],load.connection3to4.terminal4.phase[3].theta[1],load.connection3to4.terminal4.phase[3].v[1],load.connection3to4.terminal4.phase[3].v[2],load.connection3to4.terminal4.phase[4].i[1],load.connection3to4.terminal4.phase[4].i[2],load.connection3to4.terminal4.phase[4].theta[1],load.connection3to4.terminal4.phase[4].v[1],load.connection3to4.terminal4.phase[4].v[2],load.initMode,load.linearized,load.load1.P,load.load1.P_nominal,load.load1.Pow,load.load1.S[1],load.load1.S[2],load.load1.V_nominal,load.load1.i[1],load.load1.i[2],load.load1.initMode,load.load1.linearized,load.load1.mode,load.load1.pf,load.load1.terminal.i[1],load.load1.terminal.i[2],load.load1.terminal.theta[1],load.load1.terminal.v[1],load.load1.terminal.v[2],load.load1.use_pf_in,load.load1.v[1],load.load1.v[2],load.load2.P,load.load2.P_nominal,load.load2.Pow,load.load2.S[1],load.load2.S[2],load.load2.V_nominal,load.load2.i[1],load.load2.i[2],load.load2.initMode,load.load2.linearized,load.load2.mode,load.load2.pf,load.load2.terminal.i[1],load.load2.terminal.i[2],load.load2.terminal.theta[1],load.load2.terminal.v[1],load.load2.terminal.v[2],load.load2.use_pf_in,load.load2.v[1],load.load2.v[2],load.loadConn,load.mode,load.pf,load.plugPhase1,load.plugPhase2,load.plugPhase3,load.tDelay,load.terminal.phase[1].i[1],load.terminal.phase[1].i[2],load.terminal.phase[1].theta[1],load.terminal.phase[1].v[1],load.terminal.phase[1].v[2],load.terminal.phase[2].i[1],load.terminal.phase[2].i[2],load.terminal.phase[2].theta[1],load.terminal.phase[2].v[1],load.terminal.phase[2].v[2],load.terminal.phase[3].i[1],load.terminal.phase[3].i[2],load.terminal.phase[3].theta[1],load.terminal.phase[3].v[1],load.terminal.phase[3].v[2],load.terminal.phase[4].i[1],load.terminal.phase[4].i[2],load.terminal.phase[4].theta[1],load.terminal.phase[4].v[1],load.terminal.phase[4].v[2],load.use_pf_in,load.vThresh,load.voltageCtrl,load.wyeToWyeGround.connection3to4.ground4.i[1],load.wyeToWyeGround.connection3to4.ground4.i[2],load.wyeToWyeGround.connection3to4.ground4.theta[1],load.wyeToWyeGround.connection3to4.ground4.v[1],load.wyeToWyeGround.connection3to4.ground4.v[2],load.wyeToWyeGround.connection3to4.terminal3.phase[1].i[1],load.wyeToWyeGround.connection3to4.terminal3.phase[1].i[2],load.wyeToWyeGround.connection3to4.terminal3.phase[1].theta[1],load.wyeToWyeGround.connection3to4.terminal3.phase[1].v[1],load.wyeToWyeGround.connection3to4.terminal3.phase[1].v[2],load.wyeToWyeGround.connection3to4.terminal3.phase[2].i[1],load.wyeToWyeGround.connection3to4.terminal3.phase[2].i[2],load.wyeToWyeGround.connection3to4.terminal3.phase[2].theta[1],load.wyeToWyeGround.connection3to4.terminal3.phase[2].v[1],load.wyeToWyeGround.connection3to4.terminal3.phase[2].v[2],load.wyeToWyeGround.connection3to4.terminal3.phase[3].i[1],load.wyeToWyeGround.connection3to4.terminal3.phase[3].i[2],load.wyeToWyeGround.connection3to4.terminal3.phase[3].theta[1],load.wyeToWyeGround.connection3to4.terminal3.phase[3].v[1],load.wyeToWyeGround.connection3to4.terminal3.phase[3].v[2],load.wyeToWyeGround.connection3to4.terminal4.phase[1].i[1],load.wyeToWyeGround.connection3to4.terminal4.phase[1].i[2],load.wyeToWyeGround.connection3to4.terminal4.phase[1].theta[1],load.wyeToWyeGround.connection3to4.terminal4.phase[1].v[1],load.wyeToWyeGround.connection3to4.terminal4.phase[1].v[2],load.wyeToWyeGround.connection3to4.terminal4.phase[2].i[1],load.wyeToWyeGround.connection3to4.terminal4.phase[2].i[2],load.wyeToWyeGround.connection3to4.terminal4.phase[2].theta[1],load.wyeToWyeGround.connection3to4.terminal4.phase[2].v[1],load.wyeToWyeGround.connection3to4.terminal4.phase[2].v[2],load.wyeToWyeGround.connection3to4.terminal4.phase[3].i[1],load.wyeToWyeGround.connection3to4.terminal4.phase[3].i[2],load.wyeToWyeGround.connection3to4.terminal4.phase[3].theta[1],load.wyeToWyeGround.connection3to4.terminal4.phase[3].v[1],load.wyeToWyeGround.connection3to4.terminal4.phase[3].v[2],load.wyeToWyeGround.ground.terminal.i[1],load.wyeToWyeGround.ground.terminal.i[2],load.wyeToWyeGround.ground.terminal.theta[1],load.wyeToWyeGround.ground.terminal.v[1],load.wyeToWyeGround.ground.terminal.v[2],load.wyeToWyeGround.wye.phase[1].i[1],load.wyeToWyeGround.wye.phase[1].i[2],load.wyeToWyeGround.wye.phase[1].theta[1],load.wyeToWyeGround.wye.phase[1].v[1],load.wyeToWyeGround.wye.phase[1].v[2],load.wyeToWyeGround.wye.phase[2].i[1],load.wyeToWyeGround.wye.phase[2].i[2],load.wyeToWyeGround.wye.phase[2].theta[1],load.wyeToWyeGround.wye.phase[2].v[1],load.wyeToWyeGround.wye.phase[2].v[2],load.wyeToWyeGround.wye.phase[3].i[1],load.wyeToWyeGround.wye.phase[3].i[2],load.wyeToWyeGround.wye.phase[3].theta[1],load.wyeToWyeGround.wye.phase[3].v[1],load.wyeToWyeGround.wye.phase[3].v[2],load.wyeToWyeGround.wyeg.phase[1].i[1],load.wyeToWyeGround.wyeg.phase[1].i[2],load.wyeToWyeGround.wyeg.phase[1].theta[1],load.wyeToWyeGround.wyeg.phase[1].v[1],load.wyeToWyeGround.wyeg.phase[1].v[2],load.wyeToWyeGround.wyeg.phase[2].i[1],load.wyeToWyeGround.wyeg.phase[2].i[2],load.wyeToWyeGround.wyeg.phase[2].theta[1],load.wyeToWyeGround.wyeg.phase[2].v[1],load.wyeToWyeGround.wyeg.phase[2].v[2],load.wyeToWyeGround.wyeg.phase[3].i[1],load.wyeToWyeGround.wyeg.phase[3].i[2],load.wyeToWyeGround.wyeg.phase[3].theta[1],load.wyeToWyeGround.wyeg.phase[3].v[1],load.wyeToWyeGround.wyeg.phase[3].v[2],load_inputs.duration,load_inputs.height,load_inputs.offset,load_inputs.startTime,load_inputs.y,network.VAbs[1,1],network.VAbs[1,2],network.VAbs[2,1],network.VAbs[2,2],network.VAbs[3,1],network.VAbs[3,2],network.V_nominal,network.grid.cables[1].Amp,network.grid.cables[1].M,network.grid.cables[1].RCha,network.grid.cables[1].T_ref,network.grid.cables[1].XCha,network.grid.cables[1].material,network.grid.fromTo[1,1],network.grid.fromTo[1,2],network.grid.l[1,1],network.grid.nLinks,network.grid.nNodes,network.lines[1].C,network.lines[1].L,network.lines[1].M,network.lines[1].P_nominal,network.lines[1].R,network.lines[1].TCable,network.lines[1].T_ref,network.lines[1].V_nominal,network.lines[1].cableTemp.T,network.lines[1].cableTemp.port.Q_flow,network.lines[1].cableTemp.port.T,network.lines[1].cableTemperature.y,network.lines[1].commercialCable.Amp,network.lines[1].commercialCable.M,network.lines[1].commercialCable.RCha,network.lines[1].commercialCable.T_ref,network.lines[1].commercialCable.XCha,network.lines[1].commercialCable.material,network.lines[1].f_n,network.lines[1].l,network.lines[1].mode,network.lines[1].modelMode,network.lines[1].neutral.C,network.lines[1].neutral.L,network.lines[1].neutral.LossPower,network.lines[1].neutral.M,network.lines[1].neutral.R,network.lines[1].neutral.R_actual,network.lines[1].neutral.T,network.lines[1].neutral.T_heatPort,network.lines[1].neutral.T_ref,network.lines[1].neutral.V_nominal,network.lines[1].neutral.heatPort.Q_flow,network.lines[1].neutral.heatPort.T,network.lines[1].neutral.i_start[1],network.lines[1].neutral.i_start[2],network.lines[1].neutral.mode,network.lines[1].neutral.terminal_n.i[1],network.lines[1].neutral.terminal_n.i[2],network.lines[1].neutral.terminal_n.theta[1],network.lines[1].neutral.terminal_n.v[1],network.lines[1].neutral.terminal_n.v[2],network.lines[1].neutral.terminal_p.i[1],network.lines[1].neutral.terminal_p.i[2],network.lines[1].neutral.terminal_p.theta[1],network.lines[1].neutral.terminal_p.v[1],network.lines[1].neutral.terminal_p.v[2],network.lines[1].neutral.useHeatPort,network.lines[1].phase1.C,network.lines[1].phase1.L,network.lines[1].phase1.LossPower,network.lines[1].phase1.M,network.lines[1].phase1.R,network.lines[1].phase1.R_actual,network.lines[1].phase1.T,network.lines[1].phase1.T_heatPort,network.lines[1].phase1.T_ref,network.lines[1].phase1.V_nominal,network.lines[1].phase1.heatPort.Q_flow,network.lines[1].phase1.heatPort.T,network.lines[1].phase1.i_start[1],network.lines[1].phase1.i_start[2],network.lines[1].phase1.mode,network.lines[1].phase1.terminal_n.i[1],network.lines[1].phase1.terminal_n.i[2],network.lines[1].phase1.terminal_n.theta[1],network.lines[1].phase1.terminal_n.v[1],network.lines[1].phase1.terminal_n.v[2],network.lines[1].phase1.terminal_p.i[1],network.lines[1].phase1.terminal_p.i[2],network.lines[1].phase1.terminal_p.theta[1],network.lines[1].phase1.terminal_p.v[1],network.lines[1].phase1.terminal_p.v[2],network.lines[1].phase1.useHeatPort,network.lines[1].phase2.C,network.lines[1].phase2.L,network.lines[1].phase2.LossPower,network.lines[1].phase2.M,network.lines[1].phase2.R,network.lines[1].phase2.R_actual,network.lines[1].phase2.T,network.lines[1].phase2.T_heatPort,network.lines[1].phase2.T_ref,network.lines[1].phase2.V_nominal,network.lines[1].phase2.heatPort.Q_flow,network.lines[1].phase2.heatPort.T,network.lines[1].phase2.i_start[1],network.lines[1].phase2.i_start[2],network.lines[1].phase2.mode,network.lines[1].phase2.terminal_n.i[1],network.lines[1].phase2.terminal_n.i[2],network.lines[1].phase2.terminal_n.theta[1],network.lines[1].phase2.terminal_n.v[1],network.lines[1].phase2.terminal_n.v[2],network.lines[1].phase2.terminal_p.i[1],network.lines[1].phase2.terminal_p.i[2],network.lines[1].phase2.terminal_p.theta[1],network.lines[1].phase2.terminal_p.v[1],network.lines[1].phase2.terminal_p.v[2],network.lines[1].phase2.useHeatPort,network.lines[1].phase3.C,network.lines[1].phase3.L,network.lines[1].phase3.LossPower,network.lines[1].phase3.M,network.lines[1].phase3.R,network.lines[1].phase3.R_actual,network.lines[1].phase3.T,network.lines[1].phase3.T_heatPort,network.lines[1].phase3.T_ref,network.lines[1].phase3.V_nominal,network.lines[1].phase3.heatPort.Q_flow,network.lines[1].phase3.heatPort.T,network.lines[1].phase3.i_start[1],network.lines[1].phase3.i_start[2],network.lines[1].phase3.mode,network.lines[1].phase3.terminal_n.i[1],network.lines[1].phase3.terminal_n.i[2],network.lines[1].phase3.terminal_n.theta[1],network.lines[1].phase3.terminal_n.v[1],network.lines[1].phase3.terminal_n.v[2],network.lines[1].phase3.terminal_p.i[1],network.lines[1].phase3.terminal_p.i[2],network.lines[1].phase3.terminal_p.theta[1],network.lines[1].phase3.terminal_p.v[1],network.lines[1].phase3.terminal_p.v[2],network.lines[1].phase3.useHeatPort,network.lines[1].terminal_n.phase[1].i[1],network.lines[1].terminal_n.phase[1].i[2],network.lines[1].terminal_n.phase[1].theta[1],network.lines[1].terminal_n.phase[1].v[1],network.lines[1].terminal_n.phase[1].v[2],network.lines[1].terminal_n.phase[2].i[1],network.lines[1].terminal_n.phase[2].i[2],network.lines[1].terminal_n.phase[2].theta[1],network.lines[1].terminal_n.phase[2].v[1],network.lines[1].terminal_n.phase[2].v[2],network.lines[1].terminal_n.phase[3].i[1],network.lines[1].terminal_n.phase[3].i[2],network.lines[1].terminal_n.phase[3].theta[1],network.lines[1].terminal_n.phase[3].v[1],network.lines[1].terminal_n.phase[3].v[2],network.lines[1].terminal_n.phase[4].i[1],network.lines[1].terminal_n.phase[4].i[2],network.lines[1].terminal_n.phase[4].theta[1],network.lines[1].terminal_n.phase[4].v[1],network.lines[1].terminal_n.phase[4].v[2],network.lines[1].terminal_p.phase[1].i[1],network.lines[1].terminal_p.phase[1].i[2],network.lines[1].terminal_p.phase[1].theta[1],network.lines[1].terminal_p.phase[1].v[1],network.lines[1].terminal_p.phase[1].v[2],network.lines[1].terminal_p.phase[2].i[1],network.lines[1].terminal_p.phase[2].i[2],network.lines[1].terminal_p.phase[2].theta[1],network.lines[1].terminal_p.phase[2].v[1],network.lines[1].terminal_p.phase[2].v[2],network.lines[1].terminal_p.phase[3].i[1],network.lines[1].terminal_p.phase[3].i[2],network.lines[1].terminal_p.phase[3].theta[1],network.lines[1].terminal_p.phase[3].v[1],network.lines[1].terminal_p.phase[3].v[2],network.lines[1].terminal_p.phase[4].i[1],network.lines[1].terminal_p.phase[4].i[2],network.lines[1].terminal_p.phase[4].theta[1],network.lines[1].terminal_p.phase[4].v[1],network.lines[1].terminal_p.phase[4].v[2],network.lines[1].use_C,network.lines[1].use_T,network.terminal[1].phase[1].i[1],network.terminal[1].phase[1].i[2],network.terminal[1].phase[1].theta[1],network.terminal[1].phase[1].v[1],network.terminal[1].phase[1].v[2],network.terminal[1].phase[2].i[1],network.terminal[1].phase[2].i[2],network.terminal[1].phase[2].theta[1],network.terminal[1].phase[2].v[1],network.terminal[1].phase[2].v[2],network.terminal[1].phase[3].i[1],network.terminal[1].phase[3].i[2],network.terminal[1].phase[3].theta[1],network.terminal[1].phase[3].v[1],network.terminal[1].phase[3].v[2],network.terminal[1].phase[4].i[1],network.terminal[1].phase[4].i[2],network.terminal[1].phase[4].theta[1],network.terminal[1].phase[4].v[1],network.terminal[1].phase[4].v[2],network.terminal[2].phase[1].i[1],network.terminal[2].phase[1].i[2],network.terminal[2].phase[1].theta[1],network.terminal[2].phase[1].v[1],network.terminal[2].phase[1].v[2],network.terminal[2].phase[2].i[1],network.terminal[2].phase[2].i[2],network.terminal[2].phase[2].theta[1],network.terminal[2].phase[2].v[1],network.terminal[2].phase[2].v[2],network.terminal[2].phase[3].i[1],network.terminal[2].phase[3].i[2],network.terminal[2].phase[3].theta[1],network.terminal[2].phase[3].v[1],network.terminal[2].phase[3].v[2],network.terminal[2].phase[4].i[1],network.terminal[2].phase[4].i[2],network.terminal[2].phase[4].theta[1],network.terminal[2].phase[4].v[1],network.terminal[2].phase[4].v[2],time