Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.001236/0.001236, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001206/0.001206, allocations: 193.2 kB / 16.14 MB, free: 6.711 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.225/1.225, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.417/2.417, allocations: 461.9 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.36 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.285, allocations: 157.4 MB / 1.052 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02583/0.3109, allocations: 26.43 MB / 1.078 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01172/0.3227, allocations: 8.087 MB / 1.086 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001869/0.3246, allocations: 103.4 kB / 1.086 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.005289/0.3299, allocations: 2.559 MB / 1.089 GB, free: 2.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003183/0.3331, allocations: 1.497 MB / 1.09 GB, free: 1.406 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003161/0.3363, allocations: 1.522 MB / 1.091 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007404/0.3437, allocations: 8.708 MB / 1.1 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009575/0.3533, allocations: 8.189 MB / 1.108 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003429/0.3567, allocations: 2.191 MB / 1.11 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003638/0.3604, allocations: 2.893 MB / 1.113 GB, free: 9.766 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005407/0.3609, allocations: 344 kB / 1.113 GB, free: 9.43 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002299/0.3632, allocations: 1.33 MB / 1.115 GB, free: 8.098 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001623/0.3649, allocations: 1.886 MB / 1.116 GB, free: 6.207 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002026/0.3669, allocations: 2.178 MB / 1.119 GB, free: 4.02 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00631/0.3732, allocations: 7.922 MB / 1.126 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.3733, allocations: 0 / 1.126 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3733, allocations: 0 / 1.126 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001325/0.3734, allocations: 0 / 1.126 GB, free: 12.07 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.006848/0.3803, allocations: 4.236 MB / 1.13 GB, free: 7.773 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.3803, allocations: 15.97 kB / 1.13 GB, free: 7.758 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006325/0.381, allocations: 0.5343 MB / 1.131 GB, free: 7.215 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003846/0.3848, allocations: 0.8 MB / 1.132 GB, free: 6.41 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003622/0.3884, allocations: 2.428 MB / 1.134 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/0.3886, allocations: 275.6 kB / 1.134 GB, free: 3.656 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005795/0.3892, allocations: 372.4 kB / 1.135 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008079/0.3973, allocations: 5.994 MB / 1.141 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.622e-05/0.3974, allocations: 27.77 kB / 1.141 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003322/0.3977, allocations: 160 kB / 1.141 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005174/0.3982, allocations: 282.8 kB / 1.141 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006191/0.4044, allocations: 4.524 MB / 1.145 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02426/0.4287, allocations: 27.65 MB / 1.172 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.4302, allocations: 1.111 MB / 1.174 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/0.4314, allocations: 1.027 MB / 1.175 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.838e-05/0.4314, allocations: 9 kB / 1.175 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.4315, allocations: 47.56 kB / 1.175 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 3.135e-06/0.4315, allocations: 4 kB / 1.175 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of matching and sorting (n=131): time 0.01902/0.4505, allocations: 9.664 MB / 1.184 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.4506, allocations: 68.72 kB / 1.184 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.4522, allocations: 1.49 MB / 1.186 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-05/0.4523, allocations: 57.64 kB / 1.186 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008763/0.4532, allocations: 1.671 MB / 1.187 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003048/0.4535, allocations: 465.4 kB / 1.188 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004484/0.4539, allocations: 327.2 kB / 1.188 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 7.789e-05/0.454, allocations: 305.1 kB / 1.188 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/0.4552, allocations: 0.9174 MB / 1.189 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.4567, allocations: 1.463 MB / 1.191 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002812/0.4595, allocations: 2.55 MB / 1.193 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.4595, allocations: 4 kB / 1.193 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004947/0.4645, allocations: 3.289 MB / 1.196 GB, free: 0.6406 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.4645, allocations: 12 kB / 1.196 GB, free: 0.6289 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.4645, allocations: 20 kB / 1.196 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002106/0.4667, allocations: 0.734 MB / 1.197 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/0.468, allocations: 387.4 kB / 1.197 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01312/0.4812, allocations: 15.76 MB / 1.213 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.4823, allocations: 95.91 kB / 1.213 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.4825, allocations: 75.98 kB / 1.213 GB, free: 14.33 MB / 0.9825 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001769/0.4842, allocations: 1.316 MB / 1.214 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002417/0.4845, allocations: 201.6 kB / 1.214 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004452/0.4889, allocations: 2.792 MB / 1.217 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.489, allocations: 12 kB / 1.217 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.489, allocations: 8 kB / 1.217 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.489, allocations: 7.984 kB / 1.217 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008634/0.4976, allocations: 6.213 MB / 1.223 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.4976, allocations: 4 kB / 1.223 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.4987, allocations: 235.6 kB / 1.224 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001919/0.5007, allocations: 0.6718 MB / 1.224 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-05/0.5008, allocations: 35.98 kB / 1.224 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01307/0.5138, allocations: 15.51 MB / 1.239 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.5139, allocations: 4 kB / 1.239 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005545/0.5194, allocations: 4.012 MB / 1.243 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006808/0.5201, allocations: 454.6 kB / 1.244 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/0.5203, allocations: 35.98 kB / 1.244 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007834/0.5211, allocations: 79.89 kB / 1.244 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002453/0.5214, allocations: 116.7 kB / 1.244 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.197e-05/0.5215, allocations: 44 kB / 1.244 GB, free: 13.03 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001141/0.5226, allocations: 0.9903 MB / 1.245 GB, free: 12.05 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5226, allocations: 7.938 kB / 1.245 GB, free: 12.04 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00181/0.5244, allocations: 0.6836 MB / 1.246 GB, free: 11.36 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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 Backend phase and start with SimCode phase: time 0.005542/0.53, allocations: 4.607 MB / 1.25 GB, free: 6.621 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004448/0.5344, allocations: 3.503 MB / 1.254 GB, free: 3.004 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.5345, allocations: 4 kB / 1.254 GB, free: 3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002706/0.5372, allocations: 2.292 MB / 1.256 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4142/0.9513, allocations: 0.6102 MB / 1.256 GB, free: 190.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03217/0.9836, allocations: 24.25 MB / 1.28 GB, free: 180.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002616/0.9862, allocations: 2.667 MB / 1.283 GB, free: 180 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0015/0.9877, allocations: 491.3 kB / 1.283 GB, free: 180 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/0.9889, allocations: 1.281 MB / 1.284 GB, free: 179.9 MB / 1.014 GB Notification: Performance of SimCode: time 6.61e-07/0.9889, allocations: 0 / 1.284 GB, free: 179.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8722/1.861, allocations: 55 MB / 1.338 GB, free: 145.1 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/1.861, allocations: 245.4 kB / 1.338 GB, free: 144.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.818/4.679, allocations: 7.938 kB / 1.338 GB, free: 144.8 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches