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.001671/0.001671, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001986/0.001986, allocations: 193.3 kB / 16.53 MB, free: 6.699 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.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.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.589/2.589, allocations: 437.1 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 67.91 kB / 0.8694 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5943/0.5956, allocations: 151.6 MB / 1.017 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03579/0.6314, allocations: 32.6 MB / 1.049 GB, free: 1.742 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01616/0.6476, allocations: 10.27 MB / 1.059 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002508/0.6502, allocations: 151.2 kB / 1.059 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.009052/0.6593, allocations: 3.717 MB / 1.063 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.004969/0.6643, allocations: 1.85 MB / 1.065 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005405/0.6697, allocations: 2.131 MB / 1.067 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.007903/0.6776, allocations: 7.33 MB / 1.074 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01254/0.6902, allocations: 9.488 MB / 1.083 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004501/0.6947, allocations: 3.155 MB / 1.086 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004945/0.6997, allocations: 3.485 MB / 1.09 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001724/0.7014, allocations: 0.6445 MB / 1.09 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00407/0.7055, allocations: 1.775 MB / 1.092 GB, free: 5.543 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0031/0.7086, allocations: 2.542 MB / 1.095 GB, free: 2.996 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003914/0.7126, allocations: 2.894 MB / 1.098 GB, free: 92 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.009658/0.7222, allocations: 10.05 MB / 1.107 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.7223, allocations: 0 / 1.107 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7223, allocations: 0 / 1.107 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002816/0.7226, allocations: 0 / 1.107 GB, free: 6.008 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.011/0.7336, allocations: 4.994 MB / 1.112 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.7336, allocations: 12.02 kB / 1.112 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001248/0.7349, allocations: 0.6859 MB / 1.113 GB, free: 240 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005355/0.7403, allocations: 0.9475 MB / 1.114 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005339/0.7456, allocations: 2.851 MB / 1.117 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002486/0.7459, allocations: 357.7 kB / 1.117 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00109/0.747, allocations: 468.1 kB / 1.117 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01335/0.7604, allocations: 7.667 MB / 1.125 GB, free: 3.543 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000134/0.7605, allocations: 27.78 kB / 1.125 GB, free: 3.516 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000526/0.7611, allocations: 196 kB / 1.125 GB, free: 3.324 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00031/0.7614, allocations: 312.9 kB / 1.125 GB, free: 3.016 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/0.7714, allocations: 5.71 MB / 1.131 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0335/0.8049, allocations: 35.1 MB / 1.165 GB, free: 6.98 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002711/0.8077, allocations: 2.146 MB / 1.167 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001563/0.8093, allocations: 1.264 MB / 1.169 GB, free: 3.449 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.141e-05/0.8093, allocations: 17.31 kB / 1.169 GB, free: 3.43 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.8094, allocations: 55.8 kB / 1.169 GB, free: 3.367 MB / 0.92 GB Notification: Performance of pre-optimization done (n=133): time 3.216e-06/0.8094, allocations: 0 / 1.169 GB, free: 3.367 MB / 0.92 GB Notification: Performance of matching and sorting (n=136): time 0.01343/0.8228, allocations: 7.084 MB / 1.176 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.8229, allocations: 64.72 kB / 1.176 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/0.8248, allocations: 1.488 MB / 1.177 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.8249, allocations: 45.7 kB / 1.177 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.8261, allocations: 2.004 MB / 1.179 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004228/0.8265, allocations: 489.1 kB / 1.18 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004824/0.827, allocations: 355 kB / 1.18 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.179e-05/0.8271, allocations: 301.1 kB / 1.18 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.8283, allocations: 0.9096 MB / 1.181 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/0.8299, allocations: 1.605 MB / 1.183 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003067/0.833, allocations: 2.729 MB / 1.185 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.833, allocations: 8 kB / 1.185 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005883/0.8389, allocations: 3.53 MB / 1.189 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.839, allocations: 16 kB / 1.189 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/0.839, allocations: 23.94 kB / 1.189 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002642/0.8416, allocations: 0.9003 MB / 1.19 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.8429, allocations: 343.4 kB / 1.19 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02045/0.8634, allocations: 23.13 MB / 1.213 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.865, allocations: 104 kB / 1.213 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002233/0.8652, allocations: 88.06 kB / 1.213 GB, free: 3.426 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.002441/0.8677, allocations: 1.609 MB / 1.214 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004017/0.8681, allocations: 213.5 kB / 1.215 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005094/0.8732, allocations: 2.99 MB / 1.217 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.8732, allocations: 15.94 kB / 1.217 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.665e-05/0.8732, allocations: 11.94 kB / 1.217 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.8733, allocations: 3.984 kB / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/0.8846, allocations: 7.345 MB / 1.225 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.8846, allocations: 8.094 kB / 1.225 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008196/0.8854, allocations: 175.7 kB / 1.225 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002437/0.8879, allocations: 0.8218 MB / 1.226 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.888, allocations: 28 kB / 1.226 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4853/1.373, allocations: 21.95 MB / 1.247 GB, free: 206 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/1.373, allocations: 6.984 kB / 1.247 GB, free: 206 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005936/1.379, allocations: 3.025 MB / 1.25 GB, free: 205.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/1.38, allocations: 461 kB / 1.251 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/1.381, allocations: 35.19 kB / 1.251 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008408/1.381, allocations: 72.55 kB / 1.251 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004051/1.382, allocations: 123.7 kB / 1.251 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.868e-05/1.382, allocations: 35.84 kB / 1.251 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001536/1.383, allocations: 0.9798 MB / 1.252 GB, free: 205.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.383, allocations: 3.938 kB / 1.252 GB, free: 205.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003268/1.387, allocations: 0.7882 MB / 1.253 GB, free: 205.4 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.005825/1.393, allocations: 3.606 MB / 1.256 GB, free: 204.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007852/1.4, allocations: 4.65 MB / 1.261 GB, free: 201.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/1.401, allocations: 0 / 1.261 GB, free: 201.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003704/1.404, allocations: 2.731 MB / 1.263 GB, free: 200 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003452/1.408, allocations: 0.7372 MB / 1.264 GB, free: 199.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03345/1.441, allocations: 23.85 MB / 1.287 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003027/1.444, allocations: 3.108 MB / 1.29 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001512/1.446, allocations: 453.9 kB / 1.291 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001332/1.447, allocations: 1.537 MB / 1.292 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of SimCode: time 8.61e-07/1.447, allocations: 0 / 1.292 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/1.549, allocations: 60.27 MB / 1.351 GB, free: 127.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/11.72, allocations: 26.05 kB / 1.351 GB, free: 127.9 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 & 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