Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.007546/0.007546, allocations: 97.77 kB / 15.73 MB, free: 5.602 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.001823/0.001823, allocations: 192.9 kB / 16.68 MB, free: 5.523 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.53/1.53, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.57/2.57, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 63.91 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7169/0.7188, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009488/0.7283, allocations: 6.807 MB / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005237/0.7336, allocations: 3.071 MB / 1.176 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004777/0.7341, allocations: 27.81 kB / 1.176 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002512/0.7367, allocations: 0.9518 MB / 1.177 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001145/0.7378, allocations: 0.5012 MB / 1.177 GB, free: 8.352 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.7389, allocations: 444.9 kB / 1.178 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001419/0.7403, allocations: 1.24 MB / 1.179 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009438/0.7413, allocations: 0.6532 MB / 1.18 GB, free: 6.016 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006074/0.7419, allocations: 474.3 kB / 1.18 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007177/0.7426, allocations: 0.5292 MB / 1.18 GB, free: 5.02 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.7428, allocations: 68 kB / 1.181 GB, free: 4.953 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006828/0.7434, allocations: 375.2 kB / 1.181 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000317/0.7438, allocations: 315.1 kB / 1.181 GB, free: 4.277 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004605/0.7442, allocations: 449.7 kB / 1.182 GB, free: 3.836 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.7456, allocations: 1.235 MB / 1.183 GB, free: 2.598 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.7457, allocations: 0 / 1.183 GB, free: 2.598 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7457, allocations: 0 / 1.183 GB, free: 2.598 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.7457, allocations: 0 / 1.183 GB, free: 2.598 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00193/0.7476, allocations: 1.191 MB / 1.184 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.7477, allocations: 12.92 kB / 1.184 GB, free: 1.34 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001536/0.7478, allocations: 118.7 kB / 1.184 GB, free: 1.215 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/0.7494, allocations: 248 kB / 1.184 GB, free: 0.9727 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009507/0.7504, allocations: 0.6121 MB / 1.185 GB, free: 324 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.418e-05/0.7504, allocations: 45.69 kB / 1.185 GB, free: 280 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.7505, allocations: 64.36 kB / 1.185 GB, free: 216 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.7521, allocations: 1.085 MB / 1.186 GB, free: 15.01 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.7522, allocations: 3.938 kB / 1.186 GB, free: 15.01 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.01e-05/0.7523, allocations: 31.98 kB / 1.186 GB, free: 14.98 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000157/0.7524, allocations: 85.25 kB / 1.186 GB, free: 14.89 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.7537, allocations: 0.7504 MB / 1.187 GB, free: 14.14 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005977/0.7596, allocations: 5.879 MB / 1.193 GB, free: 7.84 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.7607, allocations: 0.5555 MB / 1.193 GB, free: 7.273 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004809/0.7612, allocations: 326 kB / 1.194 GB, free: 6.953 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.7613, allocations: 8.375 kB / 1.194 GB, free: 6.945 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.7613, allocations: 42.98 kB / 1.194 GB, free: 6.895 MB / 0.92 GB Notification: Performance of pre-optimization done (n=47): time 2.224e-06/0.7613, allocations: 4 kB / 1.194 GB, free: 6.891 MB / 0.92 GB Notification: Performance of matching and sorting (n=48): time 0.0042/0.7655, allocations: 1.995 MB / 1.196 GB, free: 4.801 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.7656, allocations: 55.84 kB / 1.196 GB, free: 4.734 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000754/0.7664, allocations: 0.5704 MB / 1.196 GB, free: 4.156 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.434e-05/0.7664, allocations: 33.7 kB / 1.196 GB, free: 4.117 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003259/0.7667, allocations: 428 kB / 1.197 GB, free: 3.695 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.7669, allocations: 178.5 kB / 1.197 GB, free: 3.52 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/0.7671, allocations: 126.6 kB / 1.197 GB, free: 3.387 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001998/0.7673, allocations: 378.7 kB / 1.197 GB, free: 3.008 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000443/0.7678, allocations: 269.8 kB / 1.198 GB, free: 2.746 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006143/0.7684, allocations: 0.4892 MB / 1.198 GB, free: 2.164 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.7695, allocations: 0.8132 MB / 1.199 GB, free: 1.258 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.7695, allocations: 4 kB / 1.199 GB, free: 1.254 MB / 0.92 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002017/0.7716, allocations: 1.087 MB / 1.2 GB, free: 152 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.7716, allocations: 8 kB / 1.2 GB, free: 144 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.7716, allocations: 8 kB / 1.2 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009426/0.7726, allocations: 279.3 kB / 1.2 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005152/0.7731, allocations: 131.7 kB / 1.2 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007589/0.7807, allocations: 7.146 MB / 1.207 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006406/0.7814, allocations: 35.97 kB / 1.207 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-05/0.7815, allocations: 28 kB / 1.207 GB, free: 7.941 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0003811/0.7818, allocations: 249.5 kB / 1.208 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.782, allocations: 83.58 kB / 1.208 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001714/0.7837, allocations: 0.8886 MB / 1.209 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.7837, allocations: 4 kB / 1.209 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.7837, allocations: 4 kB / 1.209 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.7837, allocations: 3.984 kB / 1.209 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002741/0.7865, allocations: 1.732 MB / 1.21 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.7865, allocations: 3.938 kB / 1.21 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.7868, allocations: 59.89 kB / 1.21 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007884/0.7876, allocations: 275.3 kB / 1.211 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.7876, allocations: 8.062 kB / 1.211 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007165/0.7948, allocations: 7.128 MB / 1.218 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.7948, allocations: 3.938 kB / 1.218 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.7965, allocations: 0.9839 MB / 1.218 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002938/0.7968, allocations: 196.6 kB / 1.219 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-05/0.7969, allocations: 19.92 kB / 1.219 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003875/0.7973, allocations: 28.11 kB / 1.219 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.7974, allocations: 43.88 kB / 1.219 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/0.7975, allocations: 12 kB / 1.219 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004809/0.7979, allocations: 395.1 kB / 1.219 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.798, allocations: 0 / 1.219 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008124/0.7988, allocations: 224 kB / 1.219 GB, free: 10.88 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001954/0.8007, allocations: 1.545 MB / 1.221 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002147/0.8029, allocations: 1.275 MB / 1.222 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.8029, allocations: 3.938 kB / 1.222 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001343/0.8043, allocations: 0.8969 MB / 1.223 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.8053, allocations: 221.5 kB / 1.223 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009276/0.8146, allocations: 6.418 MB / 1.229 GB, free: 32 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007146/0.8154, allocations: 1.012 MB / 1.23 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000405/0.8158, allocations: 118 kB / 1.231 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00034/0.8161, allocations: 255.3 kB / 1.231 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of SimCode: time 5.61e-07/0.8162, allocations: 4 kB / 1.231 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05718/0.8733, allocations: 17.5 MB / 1.248 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.72, allocations: 5.562 kB / 1.248 GB, free: 13.4 MB / 0.9825 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_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_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches