Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.00113/0.00113, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.008667/0.008667, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.29/1.29, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.45/2.45, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004026/0.0004027, allocations: 8 kB / 0.873 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6275/0.628, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03121/0.6592, allocations: 31.53 MB / 1.054 GB, free: 184 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01568/0.6749, allocations: 10.18 MB / 1.064 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002642/0.6776, allocations: 127.3 kB / 1.064 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002156/0.6798, allocations: 0.6317 MB / 1.065 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.004759/0.6845, allocations: 1.735 MB / 1.066 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004379/0.6889, allocations: 1.762 MB / 1.068 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01004/0.699, allocations: 10.57 MB / 1.078 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01796/0.717, allocations: 12.08 MB / 1.09 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004087/0.7211, allocations: 2.233 MB / 1.092 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004656/0.7258, allocations: 2.97 MB / 1.095 GB, free: 5.711 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001127/0.7269, allocations: 272 kB / 1.095 GB, free: 5.445 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003855/0.7308, allocations: 1.7 MB / 1.097 GB, free: 3.742 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002895/0.7337, allocations: 2.05 MB / 1.099 GB, free: 1.688 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.004227/0.7379, allocations: 2.338 MB / 1.101 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.7487, allocations: 9.658 MB / 1.111 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7487, allocations: 0 / 1.111 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7487, allocations: 0 / 1.111 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0003205/0.749, allocations: 0 / 1.111 GB, free: 5.645 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.008961/0.758, allocations: 4.011 MB / 1.115 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.7581, allocations: 15.97 kB / 1.115 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001863/0.7599, allocations: 0.6859 MB / 1.115 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005474/0.7654, allocations: 0.9554 MB / 1.116 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005056/0.7705, allocations: 2.851 MB / 1.119 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002842/0.7708, allocations: 357.7 kB / 1.12 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001186/0.772, allocations: 464.1 kB / 1.12 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01761/0.7896, allocations: 7.671 MB / 1.127 GB, free: 4.152 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002556/0.7899, allocations: 19.78 kB / 1.127 GB, free: 4.133 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001236/0.7912, allocations: 204 kB / 1.128 GB, free: 3.934 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003885/0.7916, allocations: 313 kB / 1.128 GB, free: 3.625 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01146/0.803, allocations: 5.706 MB / 1.134 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03613/0.8392, allocations: 35.15 MB / 1.168 GB, free: 7.547 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002658/0.8419, allocations: 2.156 MB / 1.17 GB, free: 5.277 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001623/0.8435, allocations: 1.266 MB / 1.171 GB, free: 4.016 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.378e-05/0.8436, allocations: 13.31 kB / 1.171 GB, free: 4 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.8437, allocations: 47.81 kB / 1.171 GB, free: 3.945 MB / 0.92 GB Notification: Performance of pre-optimization done (n=133): time 2.805e-06/0.8437, allocations: 0 / 1.171 GB, free: 3.945 MB / 0.92 GB Notification: Performance of matching and sorting (n=136): time 0.0131/0.8568, allocations: 7.128 MB / 1.178 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.8569, allocations: 68.72 kB / 1.178 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002038/0.8589, allocations: 1.484 MB / 1.18 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.84e-05/0.859, allocations: 45.7 kB / 1.18 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001163/0.8602, allocations: 2.008 MB / 1.182 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003772/0.8606, allocations: 485 kB / 1.182 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.8608, allocations: 149.6 kB / 1.182 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.732e-05/0.8609, allocations: 305.1 kB / 1.183 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.8621, allocations: 0.9096 MB / 1.184 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/0.8639, allocations: 1.601 MB / 1.185 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003201/0.8671, allocations: 2.733 MB / 1.188 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.967e-05/0.8671, allocations: 8 kB / 1.188 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005748/0.8729, allocations: 3.53 MB / 1.191 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.8729, allocations: 16 kB / 1.191 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/0.8729, allocations: 28.09 kB / 1.191 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002481/0.8754, allocations: 0.8999 MB / 1.192 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.8765, allocations: 347.4 kB / 1.192 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01837/0.8949, allocations: 21.24 MB / 1.213 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.8962, allocations: 104 kB / 1.213 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/0.8964, allocations: 88 kB / 1.213 GB, free: 6.102 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002551/0.899, allocations: 1.61 MB / 1.215 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003738/0.8993, allocations: 201.6 kB / 1.215 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005099/0.9044, allocations: 2.998 MB / 1.218 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.9045, allocations: 12 kB / 1.218 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.91e-05/0.9045, allocations: 16 kB / 1.218 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.9045, allocations: 7.969 kB / 1.218 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/0.916, allocations: 7.321 MB / 1.225 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/0.916, allocations: 8 kB / 1.225 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007626/0.9168, allocations: 180.3 kB / 1.225 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002279/0.9191, allocations: 0.8217 MB / 1.226 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.681e-05/0.9192, allocations: 32 kB / 1.226 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01692/0.9361, allocations: 20.34 MB / 1.246 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.9361, allocations: 4 kB / 1.246 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.495/1.431, allocations: 3.02 MB / 1.249 GB, free: 203.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/1.432, allocations: 466.2 kB / 1.25 GB, free: 203.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002244/1.433, allocations: 29 kB / 1.25 GB, free: 203.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008352/1.433, allocations: 69.77 kB / 1.25 GB, free: 203.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003867/1.434, allocations: 126.3 kB / 1.25 GB, free: 203.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.892e-05/1.434, allocations: 37.06 kB / 1.25 GB, free: 203.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001444/1.435, allocations: 0.9778 MB / 1.251 GB, free: 203.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.6e-07/1.435, allocations: 0 / 1.251 GB, free: 203.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002894/1.438, allocations: 0.7854 MB / 1.252 GB, free: 203.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00551/1.444, allocations: 3.622 MB / 1.255 GB, free: 202.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005843/1.45, allocations: 4.021 MB / 1.259 GB, free: 201.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/1.45, allocations: 0 / 1.259 GB, free: 201.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004054/1.454, allocations: 2.743 MB / 1.262 GB, free: 199.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004518/1.458, allocations: 0.6611 MB / 1.262 GB, free: 199.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0405/1.499, allocations: 25.77 MB / 1.287 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004296/1.503, allocations: 3.111 MB / 1.291 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001476/1.505, allocations: 455.7 kB / 1.291 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001549/1.506, allocations: 1.536 MB / 1.292 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of SimCode: time 9.12e-07/1.506, allocations: 0 / 1.292 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1487/1.655, allocations: 58.19 MB / 1.349 GB, free: 130.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/1.655, allocations: 242.6 kB / 1.349 GB, free: 130.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.607/4.262, allocations: 0 / 1.349 GB, free: 130.5 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches