Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_N,fileNamePrefix="Buildings_10_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_10_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.007876/0.007876, allocations: 102 kB / 15.73 MB, free: 6.02 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.001912/0.001912, allocations: 194.3 kB / 16.67 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.473/2.473, allocations: 437.1 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 63.91 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.746/0.7473, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04178/0.7891, allocations: 34.84 MB / 1.2 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01917/0.8083, allocations: 11.5 MB / 1.211 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002753/0.8111, allocations: 159.2 kB / 1.212 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.01062/0.8218, allocations: 4.26 MB / 1.216 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.006345/0.8282, allocations: 2.092 MB / 1.218 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.007165/0.8354, allocations: 2.401 MB / 1.22 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00991/0.8453, allocations: 8.483 MB / 1.228 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01666/0.862, allocations: 11.14 MB / 1.239 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005687/0.8677, allocations: 3.79 MB / 1.243 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006312/0.874, allocations: 4.198 MB / 1.247 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.002065/0.8761, allocations: 0.7813 MB / 1.248 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005674/0.8818, allocations: 2.02 MB / 1.25 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.005119/0.887, allocations: 3.06 MB / 1.253 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.007182/0.8942, allocations: 3.396 MB / 1.256 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.02131/0.9155, allocations: 12.01 MB / 1.268 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.9156, allocations: 0 / 1.268 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.809e-06/0.9156, allocations: 0 / 1.268 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0005319/0.9161, allocations: 3.938 kB / 1.268 GB, free: 11.24 MB / 0.9981 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.02367/0.9398, allocations: 5.939 MB / 1.274 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.9399, allocations: 8.922 kB / 1.274 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002991/0.9429, allocations: 0.809 MB / 1.274 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009929/0.9529, allocations: 1.09 MB / 1.276 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009828/0.9627, allocations: 3.467 MB / 1.279 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004742/0.9632, allocations: 411.4 kB / 1.279 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002196/0.9654, allocations: 0.5432 MB / 1.28 GB, free: 14.83 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02168/0.9871, allocations: 9.075 MB / 1.289 GB, free: 5.438 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003031/0.9875, allocations: 35.75 kB / 1.289 GB, free: 5.402 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002052/0.9896, allocations: 232 kB / 1.289 GB, free: 5.176 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005355/0.9901, allocations: 354.8 kB / 1.289 GB, free: 4.828 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01631/1.006, allocations: 6.818 MB / 1.296 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06226/1.069, allocations: 39.86 MB / 1.335 GB, free: 2.422 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006296/1.075, allocations: 3.108 MB / 1.338 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004153/1.079, allocations: 1.982 MB / 1.34 GB, free: 13.19 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002004/1.08, allocations: 18 kB / 1.34 GB, free: 13.17 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.7e-05/1.08, allocations: 52.56 kB / 1.34 GB, free: 13.11 MB / 1.076 GB Notification: Performance of pre-optimization done (n=179): time 6.242e-06/1.08, allocations: 0 / 1.34 GB, free: 13.11 MB / 1.076 GB Notification: Performance of matching and sorting (n=182): time 0.03208/1.112, allocations: 10.05 MB / 1.35 GB, free: 2.969 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/1.112, allocations: 73.41 kB / 1.35 GB, free: 2.883 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002553/1.114, allocations: 1.526 MB / 1.351 GB, free: 1.312 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000143/1.115, allocations: 53.7 kB / 1.351 GB, free: 1.254 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001511/1.116, allocations: 2.32 MB / 1.354 GB, free: 14.91 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005338/1.117, allocations: 0.6623 MB / 1.354 GB, free: 14.24 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000647/1.117, allocations: 408.1 kB / 1.355 GB, free: 13.83 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.182e-05/1.117, allocations: 309.1 kB / 1.355 GB, free: 13.53 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/1.119, allocations: 1.176 MB / 1.356 GB, free: 12.35 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002107/1.121, allocations: 1.889 MB / 1.358 GB, free: 10.14 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004142/1.125, allocations: 3.371 MB / 1.361 GB, free: 6.461 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-05/1.125, allocations: 8 kB / 1.361 GB, free: 6.453 MB / 1.092 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007666/1.133, allocations: 4.585 MB / 1.366 GB, free: 1.844 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/1.133, allocations: 15.98 kB / 1.366 GB, free: 1.828 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-05/1.133, allocations: 24.91 kB / 1.366 GB, free: 1.805 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003803/1.137, allocations: 1.586 MB / 1.367 GB, free: 216 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/1.138, allocations: 355.4 kB / 1.368 GB, free: 15.86 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02349/1.162, allocations: 18.6 MB / 1.386 GB, free: 12.71 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/1.164, allocations: 123.9 kB / 1.386 GB, free: 12.59 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003492/1.164, allocations: 92 kB / 1.386 GB, free: 12.5 MB / 1.123 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.003348/1.167, allocations: 1.902 MB / 1.388 GB, free: 10.59 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005856/1.168, allocations: 234.5 kB / 1.388 GB, free: 10.36 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00719/1.175, allocations: 4.098 MB / 1.392 GB, free: 6.227 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/1.175, allocations: 16 kB / 1.392 GB, free: 6.211 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.44e-05/1.175, allocations: 16 kB / 1.392 GB, free: 6.195 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.089e-05/1.175, allocations: 19.89 kB / 1.392 GB, free: 6.176 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/1.191, allocations: 9.454 MB / 1.401 GB, free: 12.47 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/1.191, allocations: 4 kB / 1.401 GB, free: 12.47 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000839/1.192, allocations: 183.7 kB / 1.402 GB, free: 12.29 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003538/1.196, allocations: 1.354 MB / 1.403 GB, free: 10.93 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001618/1.196, allocations: 36 kB / 1.403 GB, free: 10.89 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02143/1.217, allocations: 17.37 MB / 1.42 GB, free: 8.953 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/1.217, allocations: 8 kB / 1.42 GB, free: 8.945 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006728/1.224, allocations: 4.079 MB / 1.424 GB, free: 4.773 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/1.225, allocations: 0.5424 MB / 1.424 GB, free: 4.211 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003928/1.226, allocations: 39.95 kB / 1.424 GB, free: 4.172 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/1.227, allocations: 87.89 kB / 1.425 GB, free: 4.086 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004026/1.227, allocations: 157.7 kB / 1.425 GB, free: 3.93 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/1.227, allocations: 48 kB / 1.425 GB, free: 3.883 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001504/1.229, allocations: 1.008 MB / 1.426 GB, free: 2.852 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.8e-07/1.229, allocations: 0 / 1.426 GB, free: 2.852 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002973/1.232, allocations: 0.9844 MB / 1.427 GB, free: 1.867 MB / 1.154 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.006806/1.239, allocations: 4.685 MB / 1.431 GB, free: 13.09 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.006958/1.246, allocations: 4.311 MB / 1.435 GB, free: 8.727 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.246, allocations: 0 / 1.435 GB, free: 8.727 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.004255/1.25, allocations: 2.682 MB / 1.438 GB, free: 6.008 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003803/1.254, allocations: 0.7824 MB / 1.439 GB, free: 5.258 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04659/1.3, allocations: 26.98 MB / 1.465 GB, free: 9.191 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006137/1.306, allocations: 3.569 MB / 1.469 GB, free: 5.59 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001509/1.308, allocations: 471.9 kB / 1.469 GB, free: 5.125 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002486/1.311, allocations: 1.784 MB / 1.471 GB, free: 3.34 MB / 1.201 GB Notification: Performance of SimCode: time 1.492e-06/1.311, allocations: 0 / 1.471 GB, free: 3.34 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1755/1.486, allocations: 73.92 MB / 1.543 GB, free: 9.992 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/14.39, allocations: 18.52 kB / 1.543 GB, free: 9.977 MB / 1.279 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_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_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches