Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_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.007612/0.007612, allocations: 100.8 kB / 15.73 MB, free: 5.953 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.001901/0.001901, allocations: 187 kB / 16.67 MB, free: 5.883 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.431/2.431, allocations: 390.2 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 62.77 kB / 0.9504 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2618, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008695/0.2705, allocations: 6.152 MB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005349/0.2759, allocations: 3.168 MB / 1.097 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006557/0.2766, allocations: 27.81 kB / 1.097 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002537/0.2792, allocations: 0.9337 MB / 1.098 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.2805, allocations: 477.5 kB / 1.098 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.2818, allocations: 0.5026 MB / 1.098 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001412/0.2832, allocations: 1.096 MB / 1.1 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000964/0.2842, allocations: 0.6416 MB / 1.1 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007322/0.2849, allocations: 442.3 kB / 1.101 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007024/0.2857, allocations: 482.1 kB / 1.101 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.2858, allocations: 56 kB / 1.101 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008766/0.2867, allocations: 483 kB / 1.102 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003/0.287, allocations: 291.2 kB / 1.102 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005483/0.2876, allocations: 401.9 kB / 1.102 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001938/0.2895, allocations: 1.177 MB / 1.103 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2895, allocations: 0 / 1.103 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2895, allocations: 4 kB / 1.103 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.382e-05/0.2896, allocations: 4 kB / 1.103 GB, free: 1.645 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001892/0.2915, allocations: 1.061 MB / 1.104 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.2915, allocations: 12.03 kB / 1.104 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001444/0.2917, allocations: 110.7 kB / 1.105 GB, free: 412 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001597/0.2933, allocations: 227.6 kB / 1.105 GB, free: 184 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.2944, allocations: 0.5922 MB / 1.105 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.166e-05/0.2944, allocations: 49.67 kB / 1.105 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.2946, allocations: 60.36 kB / 1.105 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.2961, allocations: 1.03 MB / 1.106 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.724e-05/0.2961, allocations: 19.83 kB / 1.106 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.259e-05/0.2962, allocations: 27.98 kB / 1.106 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.768e-05/0.2963, allocations: 65.28 kB / 1.107 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.2974, allocations: 0.6918 MB / 1.107 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005337/0.3028, allocations: 5.745 MB / 1.113 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008519/0.3037, allocations: 0.5865 MB / 1.113 GB, free: 6.688 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008319/0.3045, allocations: 432.6 kB / 1.114 GB, free: 6.262 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.3046, allocations: 4 kB / 1.114 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.3046, allocations: 38.56 kB / 1.114 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=41): time 2.314e-06/0.3046, allocations: 0 / 1.114 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42): time 0.004386/0.309, allocations: 2.011 MB / 1.116 GB, free: 4.105 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.3091, allocations: 59.41 kB / 1.116 GB, free: 4.035 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005173/0.3096, allocations: 470.7 kB / 1.116 GB, free: 3.57 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.3096, allocations: 29.7 kB / 1.116 GB, free: 3.535 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.3099, allocations: 387 kB / 1.117 GB, free: 3.148 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.31, allocations: 149.9 kB / 1.117 GB, free: 3 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.3102, allocations: 114.2 kB / 1.117 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3104, allocations: 362.8 kB / 1.117 GB, free: 2.52 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/0.3108, allocations: 241.2 kB / 1.118 GB, free: 2.285 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004967/0.3113, allocations: 460.9 kB / 1.118 GB, free: 1.738 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009754/0.3123, allocations: 0.7478 MB / 1.119 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.3123, allocations: 4 kB / 1.119 GB, free: 0.8906 MB / 0.8731 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001895/0.3142, allocations: 1.038 MB / 1.12 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.3142, allocations: 8 kB / 1.12 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.3142, allocations: 16.75 kB / 1.12 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.3153, allocations: 323.1 kB / 1.12 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.3156, allocations: 91.89 kB / 1.12 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007519/0.3231, allocations: 7.482 MB / 1.127 GB, free: 7.348 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005225/0.3237, allocations: 28.03 kB / 1.127 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-05/0.3238, allocations: 31.98 kB / 1.128 GB, free: 7.289 MB / 0.8887 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004928/0.3243, allocations: 241.6 kB / 1.128 GB, free: 7.043 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.3245, allocations: 63.19 kB / 1.128 GB, free: 6.98 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/0.3263, allocations: 0.8923 MB / 1.129 GB, free: 6.066 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.3263, allocations: 4 kB / 1.129 GB, free: 6.062 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.3263, allocations: 4.281 kB / 1.129 GB, free: 6.059 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.3264, allocations: 3.984 kB / 1.129 GB, free: 6.055 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/0.3291, allocations: 1.669 MB / 1.13 GB, free: 4.297 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.3292, allocations: 16.06 kB / 1.13 GB, free: 4.281 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.3294, allocations: 39.91 kB / 1.13 GB, free: 4.242 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009309/0.3303, allocations: 311.1 kB / 1.131 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.3303, allocations: 8 kB / 1.131 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007368/0.3377, allocations: 7.454 MB / 1.138 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.3377, allocations: 7.938 kB / 1.138 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.3395, allocations: 0.9877 MB / 1.139 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003248/0.3398, allocations: 168.4 kB / 1.139 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.872e-05/0.3399, allocations: 19.91 kB / 1.139 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/0.3402, allocations: 23.91 kB / 1.139 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.3404, allocations: 51.64 kB / 1.139 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.3404, allocations: 8 kB / 1.139 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003461/0.3407, allocations: 311.1 kB / 1.139 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3407, allocations: 4 kB / 1.139 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007911/0.3415, allocations: 196 kB / 1.14 GB, free: 10.08 MB / 0.9044 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.001957/0.3435, allocations: 1.541 MB / 1.141 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002024/0.3455, allocations: 1.192 MB / 1.142 GB, free: 7.234 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3456, allocations: 0 / 1.142 GB, free: 7.234 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.3468, allocations: 0.8579 MB / 1.143 GB, free: 6.324 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.3479, allocations: 201.6 kB / 1.143 GB, free: 6.137 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008148/0.356, allocations: 5.865 MB / 1.149 GB, free: 15.95 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006879/0.3568, allocations: 0.996 MB / 1.15 GB, free: 14.93 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000322/0.3571, allocations: 109.2 kB / 1.15 GB, free: 14.82 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/0.3574, allocations: 227.4 kB / 1.15 GB, free: 14.6 MB / 0.92 GB Notification: Performance of SimCode: time 7.82e-07/0.3574, allocations: 4 kB / 1.15 GB, free: 14.59 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04625/0.4037, allocations: 15.38 MB / 1.165 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.839/10.24, allocations: 4.562 kB / 1.165 GB, free: 15.46 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches