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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.008341/0.008341, allocations: 98.27 kB / 15.73 MB, free: 6.012 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.002203/0.002203, allocations: 196.7 kB / 16.68 MB, free: 5.93 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.522/1.522, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.552/2.552, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001897, allocations: 63.89 kB / 1.018 GB, free: 9.852 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7475/0.7494, allocations: 151.6 MB / 1.166 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04067/0.7901, allocations: 32.6 MB / 1.198 GB, free: 3.035 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01781/0.808, allocations: 10.27 MB / 1.208 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002763/0.8108, allocations: 155.2 kB / 1.208 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.009725/0.8206, allocations: 3.707 MB / 1.212 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.005865/0.8265, allocations: 1.854 MB / 1.214 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.006025/0.8325, allocations: 2.141 MB / 1.216 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01008/0.8426, allocations: 7.322 MB / 1.223 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01267/0.8553, allocations: 9.423 MB / 1.232 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005419/0.8608, allocations: 3.166 MB / 1.235 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006135/0.8669, allocations: 3.493 MB / 1.239 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001775/0.8687, allocations: 0.6445 MB / 1.239 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004333/0.8731, allocations: 1.771 MB / 1.241 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.003881/0.877, allocations: 2.546 MB / 1.243 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.005005/0.882, allocations: 2.898 MB / 1.246 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01325/0.8953, allocations: 10.13 MB / 1.256 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.8953, allocations: 4 kB / 1.256 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8953, allocations: 0 / 1.256 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002683/0.8956, allocations: 0 / 1.256 GB, free: 7.262 MB / 0.9825 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.01186/0.9075, allocations: 5.131 MB / 1.261 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.9075, allocations: 12.92 kB / 1.261 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001324/0.9089, allocations: 0.682 MB / 1.262 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005634/0.9145, allocations: 0.9735 MB / 1.263 GB, free: 380 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006661/0.9212, allocations: 3.059 MB / 1.266 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003505/0.9216, allocations: 349.7 kB / 1.266 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00164/0.9232, allocations: 464.3 kB / 1.267 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01616/0.9394, allocations: 7.671 MB / 1.274 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001662/0.9396, allocations: 27.72 kB / 1.274 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005463/0.9402, allocations: 200 kB / 1.274 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003628/0.9406, allocations: 316.9 kB / 1.275 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01176/0.9523, allocations: 5.702 MB / 1.28 GB, free: 14.18 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04106/0.9934, allocations: 34.88 MB / 1.314 GB, free: 8.098 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003087/0.9966, allocations: 2.154 MB / 1.316 GB, free: 5.828 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/0.9984, allocations: 1.264 MB / 1.318 GB, free: 4.562 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.957e-05/0.9985, allocations: 13.31 kB / 1.318 GB, free: 4.551 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.9985, allocations: 43.88 kB / 1.318 GB, free: 4.5 MB / 1.045 GB Notification: Performance of pre-optimization done (n=133): time 3.226e-06/0.9985, allocations: 0 / 1.318 GB, free: 4.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=136): time 0.01459/1.013, allocations: 7.145 MB / 1.325 GB, free: 13.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/1.013, allocations: 68.66 kB / 1.325 GB, free: 13.01 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00211/1.015, allocations: 1.484 MB / 1.326 GB, free: 11.48 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001355/1.015, allocations: 45.7 kB / 1.326 GB, free: 11.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001542/1.017, allocations: 2.077 MB / 1.328 GB, free: 9.332 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005174/1.018, allocations: 0.5035 MB / 1.329 GB, free: 8.824 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00055/1.018, allocations: 351.3 kB / 1.329 GB, free: 8.473 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001275/1.018, allocations: 305.1 kB / 1.329 GB, free: 8.172 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/1.02, allocations: 0.9096 MB / 1.33 GB, free: 7.262 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/1.022, allocations: 1.593 MB / 1.332 GB, free: 5.359 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003649/1.025, allocations: 2.737 MB / 1.334 GB, free: 2.312 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.769e-06/1.025, allocations: 8 kB / 1.334 GB, free: 2.305 MB / 1.061 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006364/1.032, allocations: 3.539 MB / 1.338 GB, free: 14.72 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/1.032, allocations: 16 kB / 1.338 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.11e-05/1.032, allocations: 27.94 kB / 1.338 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00265/1.034, allocations: 0.9044 MB / 1.339 GB, free: 13.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/1.036, allocations: 351.4 kB / 1.339 GB, free: 13.39 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02313/1.059, allocations: 23.12 MB / 1.362 GB, free: 4.59 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/1.06, allocations: 104 kB / 1.362 GB, free: 4.488 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/1.061, allocations: 84 kB / 1.362 GB, free: 4.406 MB / 1.092 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.002625/1.063, allocations: 1.61 MB / 1.363 GB, free: 2.785 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004308/1.064, allocations: 218.6 kB / 1.364 GB, free: 2.57 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005561/1.069, allocations: 2.994 MB / 1.367 GB, free: 15.53 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/1.069, allocations: 12 kB / 1.367 GB, free: 15.52 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.758e-05/1.069, allocations: 12 kB / 1.367 GB, free: 15.5 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/1.069, allocations: 7.969 kB / 1.367 GB, free: 15.5 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01271/1.082, allocations: 7.333 MB / 1.374 GB, free: 7.922 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/1.082, allocations: 4 kB / 1.374 GB, free: 7.918 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008116/1.083, allocations: 183.6 kB / 1.374 GB, free: 7.738 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00255/1.085, allocations: 0.8261 MB / 1.375 GB, free: 6.875 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/1.085, allocations: 28 kB / 1.375 GB, free: 6.848 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02242/1.108, allocations: 21.96 MB / 1.396 GB, free: 15.2 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.455e-06/1.108, allocations: 8 kB / 1.396 GB, free: 15.2 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005514/1.113, allocations: 3.034 MB / 1.399 GB, free: 12.05 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/1.115, allocations: 471.5 kB / 1.4 GB, free: 11.57 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/1.115, allocations: 35.95 kB / 1.4 GB, free: 11.54 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008445/1.116, allocations: 67.91 kB / 1.4 GB, free: 11.47 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003776/1.116, allocations: 128.7 kB / 1.4 GB, free: 11.34 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.781e-05/1.116, allocations: 36 kB / 1.4 GB, free: 11.31 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001425/1.118, allocations: 0.9756 MB / 1.401 GB, free: 10.31 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.41e-07/1.118, allocations: 0 / 1.401 GB, free: 10.31 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002695/1.12, allocations: 0.7891 MB / 1.402 GB, free: 9.52 MB / 1.139 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.005685/1.126, allocations: 3.628 MB / 1.405 GB, free: 5.77 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.006249/1.132, allocations: 4.047 MB / 1.409 GB, free: 1.57 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/1.132, allocations: 0 / 1.409 GB, free: 1.57 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.004051/1.136, allocations: 2.74 MB / 1.412 GB, free: 14.68 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003146/1.139, allocations: 0.7414 MB / 1.413 GB, free: 13.97 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0365/1.176, allocations: 22.45 MB / 1.434 GB, free: 6.488 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003665/1.18, allocations: 3.105 MB / 1.437 GB, free: 3.352 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001344/1.181, allocations: 461.9 kB / 1.438 GB, free: 2.898 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001888/1.183, allocations: 1.534 MB / 1.439 GB, free: 1.363 MB / 1.17 GB Notification: Performance of SimCode: time 5.31e-07/1.183, allocations: 0 / 1.439 GB, free: 1.363 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.168/1.351, allocations: 61.42 MB / 1.499 GB, free: 4.473 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/14.63, allocations: 16.48 kB / 1.499 GB, free: 4.461 MB / 1.232 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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