Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.ACLine_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.001682/0.001682, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002505/0.002506, allocations: 193 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.069/2.069, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.979/2.979, allocations: 461.9 MB / 0.7344 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 66.3 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3584, allocations: 157.4 MB / 1.052 GB, free: 8.57 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04033/0.3988, allocations: 34.53 MB / 1.086 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01954/0.4183, allocations: 11.4 MB / 1.097 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003836/0.4222, allocations: 147.2 kB / 1.097 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01061/0.4329, allocations: 4.003 MB / 1.101 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006047/0.439, allocations: 1.82 MB / 1.103 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.007659/0.4467, allocations: 2.18 MB / 1.105 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01234/0.459, allocations: 8.495 MB / 1.114 GB, free: 9.82 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0206/0.4796, allocations: 13.43 MB / 1.127 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005736/0.4854, allocations: 3.797 MB / 1.13 GB, free: 8.473 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006152/0.4916, allocations: 4.389 MB / 1.135 GB, free: 4.07 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001944/0.4936, allocations: 0.7889 MB / 1.135 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004586/0.4982, allocations: 2.028 MB / 1.137 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.00414/0.5023, allocations: 3.057 MB / 1.14 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.005579/0.5079, allocations: 3.393 MB / 1.144 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01182/0.5197, allocations: 12.02 MB / 1.155 GB, free: 14.73 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.5198, allocations: 0 / 1.155 GB, free: 14.73 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.496e-06/0.5198, allocations: 0 / 1.155 GB, free: 14.73 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002165/0.52, allocations: 3.938 kB / 1.155 GB, free: 14.72 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01395/0.534, allocations: 5.795 MB / 1.161 GB, free: 8.859 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.534, allocations: 12.62 kB / 1.161 GB, free: 8.848 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001333/0.5354, allocations: 0.8051 MB / 1.162 GB, free: 8.031 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005678/0.5411, allocations: 1.06 MB / 1.163 GB, free: 6.965 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006075/0.5472, allocations: 3.259 MB / 1.166 GB, free: 3.648 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002829/0.5475, allocations: 411.5 kB / 1.166 GB, free: 3.246 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001008/0.5485, allocations: 0.5392 MB / 1.167 GB, free: 2.707 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01615/0.5646, allocations: 9.079 MB / 1.176 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001421/0.5648, allocations: 23.78 kB / 1.176 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005784/0.5654, allocations: 236 kB / 1.176 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003738/0.5658, allocations: 350.8 kB / 1.176 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01241/0.5782, allocations: 6.83 MB / 1.183 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05548/0.6337, allocations: 40.11 MB / 1.222 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006047/0.6398, allocations: 3.109 MB / 1.225 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003697/0.6436, allocations: 1.97 MB / 1.227 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.6437, allocations: 18 kB / 1.227 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.695e-05/0.6437, allocations: 52.56 kB / 1.227 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=179): time 5.36e-06/0.6438, allocations: 0 / 1.227 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=182): time 0.03336/0.6771, allocations: 9.977 MB / 1.237 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.6772, allocations: 73.41 kB / 1.237 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00243/0.6796, allocations: 1.526 MB / 1.239 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001524/0.6798, allocations: 53.7 kB / 1.239 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001518/0.6813, allocations: 2.261 MB / 1.241 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006492/0.682, allocations: 0.6277 MB / 1.242 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006836/0.6827, allocations: 403.9 kB / 1.242 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.6828, allocations: 317 kB / 1.242 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/0.6846, allocations: 1.179 MB / 1.243 GB, free: 136 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002426/0.687, allocations: 1.881 MB / 1.245 GB, free: 13.93 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004182/0.6912, allocations: 3.371 MB / 1.248 GB, free: 10.25 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.521e-05/0.6913, allocations: 8 kB / 1.248 GB, free: 10.24 MB / 1.014 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007948/0.6992, allocations: 4.58 MB / 1.253 GB, free: 5.633 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.6993, allocations: 18.09 kB / 1.253 GB, free: 5.617 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.187e-05/0.6993, allocations: 23.94 kB / 1.253 GB, free: 5.594 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003869/0.7032, allocations: 1.597 MB / 1.255 GB, free: 3.988 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.7043, allocations: 351.4 kB / 1.255 GB, free: 3.645 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6472/1.352, allocations: 18.58 MB / 1.273 GB, free: 182.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/1.354, allocations: 119.7 kB / 1.273 GB, free: 182.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003515/1.354, allocations: 96.73 kB / 1.273 GB, free: 182.5 MB / 1.014 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 (177): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003452/1.357, allocations: 1.894 MB / 1.275 GB, free: 182.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005924/1.358, allocations: 226.7 kB / 1.275 GB, free: 182.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008954/1.367, allocations: 4.095 MB / 1.279 GB, free: 181.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.296e-05/1.367, allocations: 20.16 kB / 1.279 GB, free: 181.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.047e-05/1.367, allocations: 18.53 kB / 1.279 GB, free: 181.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.837e-05/1.367, allocations: 10.31 kB / 1.279 GB, free: 181.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01959/1.387, allocations: 9.473 MB / 1.289 GB, free: 177.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.809e-05/1.387, allocations: 3.719 kB / 1.289 GB, free: 177.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008661/1.388, allocations: 184.2 kB / 1.289 GB, free: 177.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00395/1.392, allocations: 1.367 MB / 1.29 GB, free: 177 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001666/1.392, allocations: 39.16 kB / 1.29 GB, free: 177 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01955/1.411, allocations: 17.36 MB / 1.307 GB, free: 166.6 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/1.411, allocations: 7.875 kB / 1.307 GB, free: 166.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009606/1.421, allocations: 4.075 MB / 1.311 GB, free: 164.9 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001781/1.423, allocations: 0.5262 MB / 1.312 GB, free: 164.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008017/1.424, allocations: 47.8 kB / 1.312 GB, free: 164.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002059/1.426, allocations: 84.69 kB / 1.312 GB, free: 164.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007472/1.427, allocations: 165.1 kB / 1.312 GB, free: 164.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002283/1.427, allocations: 47.38 kB / 1.312 GB, free: 164.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002315/1.429, allocations: 1.003 MB / 1.313 GB, free: 164.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.51e-07/1.429, allocations: 0 / 1.313 GB, free: 164.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004801/1.434, allocations: 0.9837 MB / 1.314 GB, free: 164 MB / 1.014 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009534/1.444, allocations: 4.664 MB / 1.318 GB, free: 161.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.007241/1.451, allocations: 5.197 MB / 1.324 GB, free: 158.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/1.451, allocations: 0 / 1.324 GB, free: 158.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003636/1.454, allocations: 2.67 MB / 1.326 GB, free: 157 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003604/1.458, allocations: 0.7878 MB / 1.327 GB, free: 156.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03963/1.498, allocations: 30.92 MB / 1.357 GB, free: 123.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003137/1.501, allocations: 3.573 MB / 1.361 GB, free: 119.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001324/1.502, allocations: 464.3 kB / 1.361 GB, free: 119.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001457/1.504, allocations: 1.788 MB / 1.363 GB, free: 117.6 MB / 1.014 GB Notification: Performance of SimCode: time 8.62e-07/1.504, allocations: 0 / 1.363 GB, free: 117.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.676/4.18, allocations: 72.65 MB / 1.434 GB, free: 45.72 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002504/4.18, allocations: 258.5 kB / 1.434 GB, free: 45.46 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.784/8.964, allocations: 0 / 1.434 GB, free: 45.46 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches