Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.Loads.Examples.Impedances,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",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.006998/0.006998, allocations: 98.3 kB / 15.73 MB, free: 6.012 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.001227/0.001227, allocations: 192.9 kB / 16.67 MB, free: 5.949 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.671/2.671, allocations: 437 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 72.14 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2566, allocations: 151.6 MB / 1.166 GB, free: 7.367 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006069/0.2627, allocations: 4.908 MB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004035/0.2668, allocations: 2.483 MB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004658/0.2673, allocations: 27.81 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.2686, allocations: 401.9 kB / 1.174 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.2697, allocations: 465.6 kB / 1.174 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009565/0.2707, allocations: 402.8 kB / 1.175 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001025/0.2717, allocations: 0.929 MB / 1.176 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005346/0.2723, allocations: 358.8 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004997/0.2728, allocations: 342.7 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004724/0.2733, allocations: 350.4 kB / 1.177 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.645e-05/0.2734, allocations: 40 kB / 1.177 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006655/0.274, allocations: 403.1 kB / 1.177 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.2742, allocations: 183.4 kB / 1.177 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003331/0.2746, allocations: 314.3 kB / 1.177 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.2756, allocations: 0.8987 MB / 1.178 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2757, allocations: 3.938 kB / 1.178 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2757, allocations: 0 / 1.178 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.79e-05/0.2757, allocations: 0 / 1.178 GB, free: 10.87 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.00141/0.2771, allocations: 0.9688 MB / 1.179 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.2772, allocations: 12.03 kB / 1.179 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.478e-05/0.2773, allocations: 86.7 kB / 1.179 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/0.2786, allocations: 220.1 kB / 1.18 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008165/0.2794, allocations: 0.5495 MB / 1.18 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.2794, allocations: 37.36 kB / 1.18 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.632e-05/0.2795, allocations: 48.3 kB / 1.18 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009904/0.2805, allocations: 0.8483 MB / 1.181 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.2805, allocations: 7.875 kB / 1.181 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.876e-05/0.2806, allocations: 24 kB / 1.181 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.685e-05/0.2807, allocations: 68.95 kB / 1.181 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008015/0.2815, allocations: 0.5578 MB / 1.182 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003962/0.2855, allocations: 5.659 MB / 1.187 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006051/0.2861, allocations: 462.1 kB / 1.188 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.2864, allocations: 228.7 kB / 1.188 GB, free: 492 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.2864, allocations: 4 kB / 1.188 GB, free: 488 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.2864, allocations: 30.56 kB / 1.188 GB, free: 448 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=32): time 1.613e-06/0.2865, allocations: 0 / 1.188 GB, free: 448 kB / 0.9356 GB Notification: Performance of matching and sorting (n=33): time 0.002432/0.2889, allocations: 1.521 MB / 1.189 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.2889, allocations: 51.69 kB / 1.189 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004785/0.2894, allocations: 0.503 MB / 1.19 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.2895, allocations: 33.7 kB / 1.19 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.2897, allocations: 359.8 kB / 1.19 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.697e-05/0.2898, allocations: 126.9 kB / 1.19 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.2899, allocations: 110.2 kB / 1.19 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.29, allocations: 366.8 kB / 1.191 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.2903, allocations: 201.2 kB / 1.191 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004189/0.2907, allocations: 443.3 kB / 1.191 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007395/0.2915, allocations: 0.6954 MB / 1.192 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.2915, allocations: 8 kB / 1.192 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001214/0.2927, allocations: 0.8092 MB / 1.193 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.2927, allocations: 8 kB / 1.193 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.2928, allocations: 8 kB / 1.193 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000481/0.2933, allocations: 164.8 kB / 1.193 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004509/0.2937, allocations: 119.8 kB / 1.193 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003016/0.2967, allocations: 4.344 MB / 1.197 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004161/0.2972, allocations: 35.97 kB / 1.197 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/0.2972, allocations: 28.16 kB / 1.198 GB, free: 5.691 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002454/0.2975, allocations: 222.9 kB / 1.198 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.2976, allocations: 63.62 kB / 1.198 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000999/0.2986, allocations: 0.6088 MB / 1.198 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.2986, allocations: 4 kB / 1.198 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2986, allocations: 0 / 1.198 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.2986, allocations: 0 / 1.198 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.3004, allocations: 1.266 MB / 1.2 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.3004, allocations: 4 kB / 1.2 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/0.3007, allocations: 55.89 kB / 1.2 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004037/0.3011, allocations: 144.4 kB / 1.2 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.3011, allocations: 7.938 kB / 1.2 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002904/0.304, allocations: 4.337 MB / 1.204 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.3041, allocations: 7.969 kB / 1.204 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009477/0.305, allocations: 0.7197 MB / 1.205 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/0.3053, allocations: 164.7 kB / 1.205 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.173e-05/0.3053, allocations: 11.98 kB / 1.205 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.3056, allocations: 19.97 kB / 1.205 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.528e-05/0.3057, allocations: 35.84 kB / 1.205 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.3057, allocations: 12 kB / 1.205 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003427/0.3061, allocations: 338.8 kB / 1.205 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3061, allocations: 4 kB / 1.205 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006259/0.3067, allocations: 144 kB / 1.205 GB, free: 12.91 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001181/0.3079, allocations: 1.262 MB / 1.207 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001337/0.3092, allocations: 1.04 MB / 1.208 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3093, allocations: 3.938 kB / 1.208 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007806/0.31, allocations: 0.7426 MB / 1.208 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.3111, allocations: 209.3 kB / 1.209 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005915/0.317, allocations: 5.155 MB / 1.214 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004694/0.3175, allocations: 0.9098 MB / 1.215 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003244/0.3178, allocations: 117.3 kB / 1.215 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/0.3181, allocations: 191.4 kB / 1.215 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of SimCode: time 6.01e-07/0.3181, allocations: 0 / 1.215 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04037/0.3585, allocations: 12.86 MB / 1.227 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.968/10.33, allocations: 7.375 kB / 1.227 GB, free: 6.086 MB / 0.9825 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_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_Loads_Examples_Impedances.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches