Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.001165/0.001165, allocations: 108 kB / 15.6 MB, free: 132 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.001327/0.001327, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.665/2.665, allocations: 437 MB / 0.7104 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 67.88 kB / 0.8694 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5767/0.578, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03459/0.6126, allocations: 30.77 MB / 1.047 GB, free: 3.574 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02116/0.6338, allocations: 13.6 MB / 1.061 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002862/0.6367, allocations: 143.2 kB / 1.061 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.008171/0.6449, allocations: 3.188 MB / 1.064 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.007281/0.6522, allocations: 2.664 MB / 1.067 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004976/0.6572, allocations: 2.01 MB / 1.069 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.009133/0.6663, allocations: 7.617 MB / 1.076 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.011/0.6774, allocations: 8.276 MB / 1.084 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005276/0.6827, allocations: 3.4 MB / 1.087 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005237/0.6879, allocations: 3.383 MB / 1.091 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001074/0.689, allocations: 0.5977 MB / 1.091 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003119/0.6922, allocations: 1.498 MB / 1.093 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002225/0.6944, allocations: 2.362 MB / 1.095 GB, free: 2.605 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003493/0.6979, allocations: 2.886 MB / 1.098 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.008867/0.7068, allocations: 9.391 MB / 1.107 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.7068, allocations: 0 / 1.107 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7068, allocations: 0 / 1.107 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.000183/0.707, allocations: 4 kB / 1.107 GB, free: 6.285 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01065/0.7177, allocations: 5.146 MB / 1.112 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.7177, allocations: 8.031 kB / 1.112 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009726/0.7187, allocations: 0.6164 MB / 1.113 GB, free: 436 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005618/0.7243, allocations: 0.9941 MB / 1.114 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005168/0.7295, allocations: 2.896 MB / 1.116 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002482/0.7298, allocations: 312.9 kB / 1.117 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007208/0.7305, allocations: 423.8 kB / 1.117 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01072/0.7412, allocations: 6.795 MB / 1.124 GB, free: 4.637 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.113e-05/0.7414, allocations: 15.84 kB / 1.124 GB, free: 4.621 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004094/0.7418, allocations: 188 kB / 1.124 GB, free: 4.438 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008661/0.7426, allocations: 372 kB / 1.124 GB, free: 4.07 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008176/0.7508, allocations: 5.11 MB / 1.129 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03178/0.7826, allocations: 30.74 MB / 1.159 GB, free: 13.43 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/0.7846, allocations: 1.396 MB / 1.161 GB, free: 12.03 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/0.7862, allocations: 1.32 MB / 1.162 GB, free: 10.71 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.715e-05/0.7863, allocations: 21.3 kB / 1.162 GB, free: 10.69 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.7864, allocations: 51.88 kB / 1.162 GB, free: 10.63 MB / 0.92 GB Notification: Performance of pre-optimization done (n=130): time 2.926e-06/0.7864, allocations: 0 / 1.162 GB, free: 10.63 MB / 0.92 GB Notification: Performance of matching and sorting (n=199): time 0.08904/0.8754, allocations: 23.08 MB / 1.185 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.8755, allocations: 73.41 kB / 1.185 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002713/0.8782, allocations: 2.066 MB / 1.187 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001978/0.8784, allocations: 57.7 kB / 1.187 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001352/0.8798, allocations: 2.006 MB / 1.189 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006338/0.8804, allocations: 0.6739 MB / 1.189 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007427/0.8812, allocations: 420.1 kB / 1.19 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.8813, allocations: 305.1 kB / 1.19 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00213/0.8834, allocations: 1.429 MB / 1.191 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00244/0.8859, allocations: 2.017 MB / 1.193 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004674/0.8906, allocations: 3.696 MB / 1.197 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.8906, allocations: 4 kB / 1.197 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01084/0.9014, allocations: 5.654 MB / 1.203 GB, free: 416 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.9015, allocations: 15.94 kB / 1.203 GB, free: 400 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-05/0.9015, allocations: 20.16 kB / 1.203 GB, free: 380 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006646/0.9082, allocations: 2.099 MB / 1.205 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.9097, allocations: 379.3 kB / 1.205 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0386/0.9483, allocations: 38.45 MB / 1.243 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002393/0.9507, allocations: 131.9 kB / 1.243 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001893/0.9509, allocations: 88 kB / 1.243 GB, free: 4.641 MB / 0.9981 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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%), (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.002497/0.9534, allocations: 1.508 MB / 1.244 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004754/0.9539, allocations: 284.6 kB / 1.245 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4456/1.399, allocations: 5.204 MB / 1.25 GB, free: 208.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/1.4, allocations: 18.81 kB / 1.25 GB, free: 208.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.485e-05/1.4, allocations: 22.06 kB / 1.25 GB, free: 208.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-05/1.4, allocations: 11.16 kB / 1.25 GB, free: 208.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01837/1.418, allocations: 9.681 MB / 1.259 GB, free: 205.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/1.418, allocations: 6.531 kB / 1.259 GB, free: 205.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009726/1.419, allocations: 212.7 kB / 1.259 GB, free: 205.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006093/1.425, allocations: 1.849 MB / 1.261 GB, free: 205.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001754/1.425, allocations: 42.75 kB / 1.261 GB, free: 205.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02874/1.454, allocations: 37.47 MB / 1.298 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/1.454, allocations: 11.84 kB / 1.298 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007731/1.462, allocations: 4.9 MB / 1.303 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/1.463, allocations: 0.6267 MB / 1.303 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003775/1.463, allocations: 43.27 kB / 1.303 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/1.465, allocations: 134.5 kB / 1.303 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000721/1.466, allocations: 189.1 kB / 1.304 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/1.466, allocations: 55.38 kB / 1.304 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001814/1.468, allocations: 1.379 MB / 1.305 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.468, allocations: 0 / 1.305 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00322/1.471, allocations: 1.045 MB / 1.306 GB, free: 171.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007458/1.478, allocations: 5.534 MB / 1.311 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009557/1.488, allocations: 7.217 MB / 1.318 GB, free: 164 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.488, allocations: 7.938 kB / 1.318 GB, free: 164 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005336/1.493, allocations: 4.383 MB / 1.323 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003658/1.497, allocations: 0.9946 MB / 1.324 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04023/1.537, allocations: 34.12 MB / 1.357 GB, free: 121.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002483/1.54, allocations: 3.123 MB / 1.36 GB, free: 118.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001751/1.541, allocations: 0.5276 MB / 1.361 GB, free: 118.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/1.543, allocations: 1.667 MB / 1.362 GB, free: 116.6 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/1.543, allocations: 0 / 1.362 GB, free: 116.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1352/1.678, allocations: 89.25 MB / 1.449 GB, free: 28.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/12.59, allocations: 10.67 kB / 1.449 GB, free: 28.42 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches